|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.standard.IPNodeIdFactory
Constructs NodeIds for virtual nodes derived from the IP address and port number of this Java VM.
Field Summary | |
protected Logger |
logger
DESCRIBE THE FIELD |
Constructor Summary | |
IPNodeIdFactory(java.net.InetAddress localIP,
int port,
Environment env)
Constructor. |
Method Summary | |
Id |
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 |
Field Detail |
protected Logger logger
Constructor Detail |
public IPNodeIdFactory(java.net.InetAddress localIP, int port, Environment env)
port
- the port number on which this Java VM listenslocalIP
- DESCRIBE THE PARAMETERenv
- DESCRIBE THE PARAMETERMethod Detail |
public Id generateNodeId()
generateNodeId
in interface NodeIdFactory
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |