| Constructor and Description |
|---|
FailedJob(RouterContext enclosingContext,
RouterInfo peer) |
FailedJob(RouterContext enclosingContext,
RouterInfo peer,
boolean penalizePeer)Allow the choice as to whether failed searches should count against
the peer (such as if we search for a random key) |
| Modifier and Type | Method and Description |
|---|---|
String | getName()Descriptive name of the task |
void | runJob()Notify the search of a peer timeout and optionally penalize. |
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic FailedJob(RouterContext enclosingContext, RouterInfo peer)
enclosingContext - the router contextpeer - the peerpublic FailedJob(RouterContext enclosingContext, RouterInfo peer, boolean penalizePeer)