|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.standard.IPNodeIdFactory
Constructs NodeIds for virtual nodes derived from the IP address and port number of this Java VM.
Constructor Summary | |
IPNodeIdFactory(int port)
Constructor. |
Method Summary | |
NodeId |
generateNodeId()
generate a nodeId multiple invocations result in a deterministic series of randomized NodeIds, seeded by the IP address of the local host. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IPNodeIdFactory(int port)
port
- the port number on which this Java VM listensMethod Detail |
public NodeId generateNodeId()
generateNodeId
in interface NodeIdFactory
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |