JobBootCommSystemJob, BootNetworkDbJob, BootPeerManagerJob, BuildTrustedLinksJob, CreateRouterInfoJob, CreateSessionJob, ExpireJob, ExpireLeasesJob, ExpireRoutersJob, ExploreKeySelectorJob, FloodfillMonitorJob, FloodfillRouterInfoFloodJob, FloodfillVerifyStoreJob, FloodOnlyLookupMatchJob, FloodOnlyLookupTimeoutJob, FloodSearchJob, GetBidsJob, HandleDatabaseLookupMessageJob, HandleFloodfillDatabaseStoreMessageJob, HandleGarlicMessageJob, IterativeLookupJob, IterativeTimeoutJob, LoadClientAppsJob, LoadRouterInfoJob, LookupDestJob, MessageReceivedJob, OutboundClientMessageOneShotJob, PeerTestJob, PersistRouterInfoJob, PublishLocalRouterInfoJob, ReadConfigJob, RebuildRouterInfoJob, RefreshRoutersJob, ReportAbuseJob, RepublishLeaseSetJob, RequestLeaseSetJob, SearchJob, SearchJob.FailedJob, SearchReplyJob, SearchUpdateReplyFoundJob, SendMessageDirectJob, SingleLookupJob, StartAcceptingClientsJob, StartExplorersJob, StartupJob, StoreJob, TestJob, UpdateRoutingKeyModifierJobpublic abstract class JobImpl extends Object implements Job
| Constructor | Description |
|---|---|
JobImpl(RouterContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
addedToQueue() |
Deprecated.
As of 0.8.1, this is a noop, as it just adds classes to the log manager
class list for no good reason.
|
void |
dropped() |
the router is extremely overloaded, so this job has been dropped.
|
Exception |
getAddedBy() |
Deprecated.
|
RouterContext |
getContext() |
|
long |
getJobId() |
unique id
|
long |
getMadeReadyOn() |
|
JobTiming |
getTiming() |
Timing criteria for the task
|
void |
madeReady() |
|
protected void |
requeue(long delayMs) |
Warning - only call this from runJob() or if Job is not already queued,
or else it gets the job queue out of order.
|
String |
toString() |
public JobImpl(RouterContext context)
public long getJobId()
Jobpublic JobTiming getTiming()
Jobpublic final RouterContext getContext()
@Deprecated void addedToQueue()
@Deprecated public Exception getAddedBy()
getAddedBy in interface Jobpublic long getMadeReadyOn()
public void madeReady()
public void dropped()
Jobprotected void requeue(long delayMs)