public abstract class JobImpl extends Object implements Job
| Constructor and Description |
|---|
JobImpl(RouterContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
dropped()
the router is extremely overloaded, so this job has been dropped.
|
Exception |
getAddedBy()
Deprecated.
|
RouterContext |
getContext() |
long |
getJobId()
unique id
|
long |
getMadeReadyOn() |
JobTiming |
getTiming()
Timing criteria for the task
|
void |
madeReady() |
protected void |
requeue(long delayMs)
Warning - only call this from runJob() or if Job is not already queued,
or else it gets the job queue out of order.
|
String |
toString() |
public JobImpl(RouterContext context)
public long getJobId()
Jobpublic JobTiming getTiming()
Jobpublic final RouterContext getContext()
@Deprecated public Exception getAddedBy()
getAddedBy in interface Jobpublic long getMadeReadyOn()
public void madeReady()
public void dropped()
Jobprotected void requeue(long delayMs)