forked from I2P_Developers/i2p.i2p
javadoc
This commit is contained in:
@@ -62,6 +62,10 @@ public abstract class JobImpl implements Job {
|
||||
public void madeReady() { _madeReadyOn = _context.clock().now(); }
|
||||
public void dropped() {}
|
||||
|
||||
/**
|
||||
* Warning - only call this from runJob() or if Job is not already queued,
|
||||
* or else it gets the job queue out of order.
|
||||
*/
|
||||
protected void requeue(long delayMs) {
|
||||
getTiming().setStartAfter(_context.clock().now() + delayMs);
|
||||
_context.jobQueue().addJob(this);
|
||||
|
Reference in New Issue
Block a user