|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobContext
Context for the execution of a Job.
| Method Summary | |
|---|---|
boolean |
continueExecution()
Indicates whether to continue execution. |
TeamIdentifier |
getCurrentTeam()
Obtains the TeamIdentifier of the current Team executing
the Job. |
long |
getTime()
Obtains the current time in milliseconds. |
| Method Detail |
|---|
long getTime()
Obtains the current time in milliseconds.
This should return similar to System.currentTimeMillis() but is
provided to cache time for multiple quick operations that require only
estimates of time - such as check if asynchronous operations by the
ManagedObject instances have not timed out.
Note CPU operations should be in the nano-seconds.
TeamIdentifier getCurrentTeam()
TeamIdentifier of the current Team executing
the Job.
TeamIdentifier of the current Team executing the
Job.boolean continueExecution()
Job to be more responsive in shutting down.
true if should continue executing or
false if execution has stopped and the Job
should stop.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||