public class InMemoryJob extends Object implements Job
Constructor and Description |
---|
InMemoryJob(String jobId) |
Modifier and Type | Method and Description |
---|---|
void |
decrementRepeatCount() |
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 execute
|
long |
getNextTime() |
byte[] |
getPayload() |
long |
getPeriod() |
int |
getRepeat() |
long |
getStart() |
String |
getStartTime()
Get the start time as a Date time string
|
int |
hashCode() |
void |
incrementExecutionCount() |
boolean |
isCron() |
void |
setCronEntry(String cronEntry) |
void |
setDelay(long delay) |
void |
setNextTime(long nextTime) |
void |
setPayload(byte[] payload) |
void |
setPeriod(long period) |
void |
setRepeat(int repeat) |
void |
setStart(long start) |
String |
toString() |
public InMemoryJob(String jobId)
public void setRepeat(int repeat)
public void setStart(long start)
public long getNextTime()
public void setNextTime(long nextTime)
public void setDelay(long delay)
public void setPeriod(long period)
public String getCronEntry()
getCronEntry
in interface Job
public void setCronEntry(String cronEntry)
public byte[] getPayload()
getPayload
in interface Job
public void setPayload(byte[] payload)
public String getStartTime()
Job
getStartTime
in interface Job
public String getNextExecutionTime()
Job
getNextExecutionTime
in interface Job
public int getExecutionCount()
Job
getExecutionCount
in interface Job
public void incrementExecutionCount()
public void decrementRepeatCount()
public boolean isCron()
Copyright © 2005–2018. All rights reserved.