|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeManager
Class is responsible for managing the Node
s identified for
this system (JVM instance), as well as the state management for the
Node
s.
Method Summary | |
---|---|
Node |
currentNode()
Returns the current node in use for uuid generation. |
void |
lockNode(Node node)
Locks a node for use by a generator. |
Node |
nextAvailableNode()
Returns the next available Node for uuid generation. |
void |
releaseNode(Node node)
Releases a node locked by a generator. |
Method Detail |
---|
Node currentNode()
Returns the current node in use for uuid generation. Calls to this method also signal the NodeManagerImpl when to store uuid state information.
Node nextAvailableNode()
Returns the next available Node
for uuid generation.
Node
for uuid generation.void lockNode(Node node)
Locks a node for use by a generator.
node
- the Node to lock.void releaseNode(Node node)
Releases a node locked by a generator.
node
- the Node to release.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |