public class NodesLockRestorationManager extends Object
It was decided to keep the mechanism simple by considering the node source name only when the lock restoration is made. The hostname does not enter into account.
Considering the hostname is non-trivial since it is not stable. It may change on machine restart or due to node state change. Besides, some infrastructures are dynamics and the number of nodes deployed from a restart to another may differ.
This class is not thread-safe.
Modifier and Type | Field and Description |
---|---|
protected boolean |
initialized |
protected Map<String,org.objectweb.proactive.core.util.MutableInteger> |
nodeLockedOnPreviousRun |
Constructor and Description |
---|
NodesLockRestorationManager(RMCore rmCore) |
Modifier and Type | Method and Description |
---|---|
void |
handle(RMNode node,
Client caller)
Handle the specified node for lock restoration.
|
protected void |
initialize() |
boolean |
isInitialized() |