|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.JobImpl
public abstract class JobImpl
Base implementation of a Job
Constructor Summary | |
---|---|
JobImpl(RouterContext context)
|
Method Summary | |
---|---|
(package private) void |
addedToQueue()
|
void |
dropped()
the router is extremely overloaded, so this job has been dropped. |
java.lang.Exception |
getAddedBy()
|
RouterContext |
getContext()
|
int |
getJobId()
unique id |
long |
getMadeReadyOn()
|
JobTiming |
getTiming()
Timing criteria for the task |
void |
madeReady()
|
protected void |
requeue(long delayMs)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.i2p.router.Job |
---|
getName, runJob |
Constructor Detail |
---|
public JobImpl(RouterContext context)
Method Detail |
---|
public int getJobId()
Job
getJobId
in interface Job
public JobTiming getTiming()
Job
getTiming
in interface Job
public final RouterContext getContext()
public java.lang.String toString()
toString
in class java.lang.Object
void addedToQueue()
public java.lang.Exception getAddedBy()
getAddedBy
in interface Job
public long getMadeReadyOn()
public void madeReady()
public void dropped()
Job
dropped
in interface Job
protected void requeue(long delayMs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |