|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.dist.DistNodeHandlePool
rice.pastry.wire.WireNodeHandlePool
The WireNodeHandlePool controls all of the node handles in use by the WirePastryNode. It ensures that there is only one node handle for each respective pastry node.
Constructor Summary | |
WireNodeHandlePool(WirePastryNode spn)
Constructor. |
Method Summary | |
DistNodeHandle |
coalesce(DistNodeHandle han)
The method verifies a WireNodeHandle. |
WireNodeHandle |
get(NodeId nodeId)
Looks up the WireNodeHandle given a NodeId |
void |
notifyKilled()
tells all the WireNodeHandles they have been killed. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WireNodeHandlePool(WirePastryNode spn)
spn
- The WirePastryNode this pool will serve.Method Detail |
public WireNodeHandle get(NodeId nodeId)
nodeId
- the nodeId you want a Handle for
public void notifyKilled()
public DistNodeHandle coalesce(DistNodeHandle han)
coalesce
in class DistNodeHandlePool
han
- DESCRIBE THE PARAMETER
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |