|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaScriptJob
A JavaScript-triggered background job managed by a JavaScriptJobManager.
| Method Summary | |
|---|---|
Integer |
getId()
Returns the job ID. |
Integer |
getPeriod()
Returns the amount of time to wait between executions of this job (may be null). |
long |
getTargetExecutionTime()
Returns the target execution time of the job. |
boolean |
isExecuteAsap()
Returns true if has to be executed ASAP. |
boolean |
isPeriodic()
Returns true if this job executes periodically. |
void |
setId(Integer id)
Sets the job ID. |
void |
setTargetExecutionTime(long targetExecutionTime)
Sets the target execution time of the job. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
Integer getId()
void setId(Integer id)
id - the job IDlong getTargetExecutionTime()
void setTargetExecutionTime(long targetExecutionTime)
targetExecutionTime - the new target execution time.Integer getPeriod()
boolean isPeriodic()
boolean isExecuteAsap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||