mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 06:32:32 +00:00
javadoc
This commit is contained in:
1 parent
cc7a8028d1
commit
bbd34be212
1 file changed
+4
@@ -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