public class FutureRouting extends BaseFutureImpl
BaseFuture.FutureTypecompleted, lock, reason, type| Constructor and Description |
|---|
FutureRouting() |
| Modifier and Type | Method and Description |
|---|---|
SortedSet<PeerAddress> |
getDirectHits() |
String |
getFailedReason()
The default failed reason is Unknown.
|
SortedSet<PeerAddress> |
getPotentialHits() |
SortedSet<PeerAddress> |
getRoutingPath()
Returns the peers that have been asked to provide neighbor information.
|
void |
setNeighbors(SortedSet<PeerAddress> directHits,
SortedSet<PeerAddress> potentialHits,
SortedSet<PeerAddress> routingPath) |
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, getType, isCompleted, isFailed, isSuccess, notifyListerenrs, removeCancellation, removeListener, setCompletedAndNotify, setFailedpublic void setNeighbors(SortedSet<PeerAddress> directHits, SortedSet<PeerAddress> potentialHits, SortedSet<PeerAddress> routingPath)
public SortedSet<PeerAddress> getPotentialHits()
public SortedSet<PeerAddress> getDirectHits()
public SortedSet<PeerAddress> getRoutingPath()
public String getFailedReason()
BaseFuturegetFailedReason in interface BaseFuturegetFailedReason in class BaseFutureImplCopyright © 2011. All Rights Reserved.