java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.FloodfillNetworkDatabaseFacade.FloodSuccessJob
- All Implemented Interfaces:
Job
- Enclosing class:
FloodfillNetworkDatabaseFacade
Note in the profile that the store succeeded.
Field Summary
Constructor Summary
ConstructorsConstructorDescriptionFloodSuccessJob(RouterContext ctx, Hash peer) Record a successful store for the given peer.Method Summary
All MethodsMethods inherited from class JobImpl
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringModifier and TypeMethodDescriptionvoiddropped()Default implementation does nothing.final RouterContextThe router context that this job belongs to.longgetJobId()The unique job ID for this job.longThe timestamp when this job was last made ready for execution.The timing object for this job.voidmadeReady(long now) For JobQueue only, not for external use.protected voidrequeue(long delayMs) Requeue this job to run after the specified delay.toString()
Field Details
_peer
The peer being processed.
Constructor Details
FloodSuccessJob
Record a successful store for the given peer.- Parameters:
ctx- router context whose profile manager records the successpeer- the floodfill peer
Method Details
getName
runJob
public void runJob()Record the store success in the peer profile.