Package net.i2p.router
Interface Job
- All Known Subinterfaces:
ReplyJob
- All Known Implementing Classes:
Analysis,BootCommSystemJob,BootNetworkDbJob,BootPeerManagerJob,BuildTrustedLinksJob,CreateRouterInfoJob,CreateSessionJob,DirectLookupJob,DirectLookupMatchJob,ExpireJob,ExpireLeasesJob,ExpireRoutersJob,ExploreJob,ExploreKeySelectorJob,FloodfillMonitorJob,FloodfillRouterInfoFloodJob,FloodfillStoreJob,FloodfillVerifyStoreJob,FloodOnlyLookupMatchJob,FloodOnlyLookupTimeoutJob,FloodOnlySearchJob,FloodSearchJob,GetBidsJob,HandleDatabaseLookupMessageJob,HandleFloodfillDatabaseLookupMessageJob,HandleFloodfillDatabaseStoreMessageJob,HandleGarlicMessageJob,IterativeFollowupJob,IterativeLookupJob,IterativeSearchJob,IterativeTimeoutJob,JobImpl,LoadClientAppsJob,LoadRouterInfoJob,LookupDestJob,MessageReceivedJob,OutboundClientMessageOneShotJob,PeerTestJob,PersistRouterInfoJob,PublishLocalRouterInfoJob,ReadConfigJob,RebuildRouterInfoJob,RefreshRoutersJob,ReportAbuseJob,RepublishLeaseSetJob,RequestLeaseSetJob,SearchJob,SearchJob.FailedJob,SearchReplyJob,SearchUpdateReplyFoundJob,SendMessageDirectJob,SingleLookupJob,SingleSearchJob,StartAcceptingClientsJob,StartExplorersJob,StartupJob,StoreJob,TestJob,UpdateRoutingKeyModifierJob
public interface Job
Defines an executable task
For use by the router only. Not to be used by applications or plugins.
-
Method Details
-
getName
String getName()Descriptive name of the task -
getJobId
long getJobId()unique id -
getTiming
JobTiming getTiming()Timing criteria for the task -
runJob
void runJob()Actually perform the task. This call blocks until the Job is complete. -
getAddedBy
Deprecated.- Returns:
- null always
-
dropped
void dropped()the router is extremely overloaded, so this job has been dropped. if for some reason the job *must* do some cleanup / requeueing of other tasks, it should do so here.
-