Class JobImpl
- java.lang.Object
-
- org.apache.activemq.store.kahadb.scheduler.JobImpl
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JobImpl(org.apache.activemq.store.kahadb.scheduler.JobLocation location, ByteSequence bs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCronEntry()
long
getDelay()
int
getExecutionCount()
Gets the total number of times this job has executed.String
getJobId()
String
getNextExecutionTime()
Get the time the job is next due to executebyte[]
getPayload()
long
getPeriod()
int
getRepeat()
long
getStart()
String
getStartTime()
Get the start time as a Date time stringString
toString()
-
-
-
Constructor Detail
-
JobImpl
protected JobImpl(org.apache.activemq.store.kahadb.scheduler.JobLocation location, ByteSequence bs)
-
-
Method Detail
-
getPayload
public byte[] getPayload()
- Specified by:
getPayload
in interfaceJob
- Returns:
- the payload
-
getCronEntry
public String getCronEntry()
- Specified by:
getCronEntry
in interfaceJob
- Returns:
- the cron entry
-
getNextExecutionTime
public String getNextExecutionTime()
Description copied from interface:Job
Get the time the job is next due to execute- Specified by:
getNextExecutionTime
in interfaceJob
- Returns:
- the date time
-
getStartTime
public String getStartTime()
Description copied from interface:Job
Get the start time as a Date time string- Specified by:
getStartTime
in interfaceJob
- Returns:
- the date time
-
getExecutionCount
public int getExecutionCount()
Description copied from interface:Job
Gets the total number of times this job has executed.- Specified by:
getExecutionCount
in interfaceJob
-
-