| Field Summary | |
|---|---|
| static int | Value that the run() method may return to indicate that the job has finished and any dependent
jobs should be run immediately. |
| static String | Event subject published when this job finishes. |
| static int | Value for the state property indicating that this job has finished. |
| static int | Value that the run() method may return to indicate that the job should be put back on the
waiting job queue. |
| static int | Value that the run() method may return to indicate that the job has finished and any dependent
jobs should be run after breaking the JavaScript stack with window.setTimeout(). |
| static int | Value that the run() method may return to indicate that the job will not finish until the
finish() method is called. |
| static int | Value for the state property indicating that this job has not yet finished. |
| Constructor Summary | |
|---|---|
| void | The instance initializer. |
| Method Summary | |
|---|---|
| void | finish() A job should call this method on itself if its run() method returns WAIT to communicate to the
job manager that it has finished. |
| int | run() Runs the job. |
| void | state() Returns the job state. |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.util.GNode |
|---|
| add, del, down, graph, id, up |
| Methods Inherited From Object |
|---|
| toString |
| Field Detail |
|---|
run() method may return to indicate that the job has finished and any dependent
jobs should be run immediately.run() method may return to indicate that the job should be put back on the
waiting job queue.run() method may return to indicate that the job has finished and any dependent
jobs should be run after breaking the JavaScript stack with window.setTimeout().run() method may return to indicate that the job will not finish until the
finish() method is called.| Constructor Detail |
|---|
| Method Detail |
|---|
WAIT to communicate to the
job manager that it has finished.WAIT, DONE, or SLEEP.