Class RepublishLeaseSetJob
- java.lang.Object
-
- net.i2p.router.JobImpl
-
- net.i2p.router.networkdb.kademlia.RepublishLeaseSetJob
-
-
Field Summary
Fields Modifier and Type Field Description static long
REPUBLISH_LEASESET_TIMEOUT
-
Constructor Summary
Constructors Constructor Description RepublishLeaseSetJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade, Hash destHash)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Descriptive name of the tasklong
lastPublished()
(package private) void
requeueRepublish()
void
runJob()
Actually perform the task.-
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
-
-
-
-
Field Detail
-
REPUBLISH_LEASESET_TIMEOUT
public static final long REPUBLISH_LEASESET_TIMEOUT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RepublishLeaseSetJob
public RepublishLeaseSetJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade, Hash destHash)
-
-
Method Detail
-
runJob
public void runJob()
Description copied from interface:Job
Actually perform the task. This call blocks until the Job is complete.
-
requeueRepublish
void requeueRepublish()
-
lastPublished
public long lastPublished()
- Returns:
- last attempted publish time, or 0 if never
-
-