Class JobImpl
- java.lang.Object
-
- org.apache.activemq.store.kahadb.scheduler.JobImpl
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJobImpl(org.apache.activemq.store.kahadb.scheduler.JobLocation location, ByteSequence bs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCronEntry()longgetDelay()intgetExecutionCount()Gets the total number of times this job has executed.StringgetJobId()StringgetNextExecutionTime()Get the time the job is next due to executebyte[]getPayload()longgetPeriod()intgetRepeat()longgetStart()StringgetStartTime()Get the start time as a Date time stringStringtoString()
-
-
-
Constructor Detail
-
JobImpl
protected JobImpl(org.apache.activemq.store.kahadb.scheduler.JobLocation location, ByteSequence bs)
-
-
Method Detail
-
getPayload
public byte[] getPayload()
- Specified by:
getPayloadin interfaceJob- Returns:
- the payload
-
getCronEntry
public String getCronEntry()
- Specified by:
getCronEntryin interfaceJob- Returns:
- the cron entry
-
getNextExecutionTime
public String getNextExecutionTime()
Description copied from interface:JobGet the time the job is next due to execute- Specified by:
getNextExecutionTimein interfaceJob- Returns:
- the date time
-
getStartTime
public String getStartTime()
Description copied from interface:JobGet the start time as a Date time string- Specified by:
getStartTimein interfaceJob- Returns:
- the date time
-
getExecutionCount
public int getExecutionCount()
Description copied from interface:JobGets the total number of times this job has executed.- Specified by:
getExecutionCountin interfaceJob
-
-