Class RepublishLeaseSetJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.RepublishLeaseSetJob
- All Implemented Interfaces:
Job
Run periodically for each locally created leaseSet to cause it to be republished
if the client is still connected.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRepublishLeaseSetJob
(RouterContext ctx, KademliaNetworkDatabaseFacade facade, Hash destHash) -
Method Summary
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, madeReady, requeue, toString
-
Field Details
-
REPUBLISH_LEASESET_TIMEOUT
public static final long REPUBLISH_LEASESET_TIMEOUT- See Also:
-
-
Constructor Details
-
RepublishLeaseSetJob
-
-
Method Details
-
getName
Description copied from interface:Job
Descriptive name of the task -
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
-