|
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.RandomNodeIdFactory
Constructs random node ids by SHA'ing consecutive numbers, with random starting value.
Field Summary | |
protected Logger |
logger
DESCRIBE THE FIELD |
Constructor Summary | |
RandomNodeIdFactory(Environment env)
Constructor. |
Method Summary | |
Id |
generateNodeId()
generate a nodeId |
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 RandomNodeIdFactory(Environment env)
env
- 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 |