Interface PeriodicJob
- 
 public interface PeriodicJob - Since:
- 5.3
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()Cancels the job.StringgetName()Returns the name for the job, supplied when the job is created; this is not unique or meaningful, and primarily exists to assist with debugging.booleanisCanceled()Has this job been canceled.booleanisExecuting()Is this Job currently executing (or queued, awaiting execution)?
 
- 
- 
- 
Method Detail- 
getNameString getName() Returns the name for the job, supplied when the job is created; this is not unique or meaningful, and primarily exists to assist with debugging.- Returns:
- name provided for the job
 
 - 
isExecutingboolean isExecuting() Is this Job currently executing (or queued, awaiting execution)?- Returns:
- true if executing
 
 - 
isCanceledboolean isCanceled() Has this job been canceled.
 - 
cancelvoid cancel() Cancels the job. If currently executing, the Job will finish (this includes awaiting execution). If not currently executing, the job is discarded immediately.
 
- 
 
-