Package | Description |
---|---|
org.htmlunit.javascript.background |
Classes relating to background JavaScript execution, which is usually triggered via
setTimeout() or setInterval() . |
Modifier and Type | Method and Description |
---|---|
JavaScriptJob |
JavaScriptJobManager.getEarliestJob(JavaScriptJobManager.JavaScriptJobFilter filter)
Gets the earliest job for this manager.
|
int |
JavaScriptJobManager.getJobCount(JavaScriptJobManager.JavaScriptJobFilter filter)
Returns the number of active jobs, including jobs that are currently executing and jobs that are
waiting to execute.
|
String |
JavaScriptJobManager.jobStatusDump(JavaScriptJobManager.JavaScriptJobFilter filter)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
int |
JavaScriptJobManager.waitForJobsStartingBefore(long delayMillis,
JavaScriptJobManager.JavaScriptJobFilter filter)
Blocks until all jobs scheduled to start executing before
(now + delayMillis) have finished executing. |
int |
JavaScriptJobManager.waitForJobsStartingBefore(long delayMillis,
long timeoutMillis,
JavaScriptJobManager.JavaScriptJobFilter filter)
Blocks until all jobs scheduled to start executing before
(now + delayMillis)
have finished executing or the
If there is no background JavaScript task currently executing, and there is no background JavaScript task
scheduled to start executing within the specified time, this method returns immediately -- even if there are
tasks scheduled to be executed after (now + delayMillis) . |
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.