class DirectoryService.NodeLocker extends DirectoryService.LockHelper
lock, name, nodeId, remapper| Constructor and Description |
|---|
NodeLocker(java.lang.String nodeId)
Construct an instance for specified node ID and attribute name.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
lock()
Perform preliminary steps required to access node and attribute.
|
(package private) boolean |
lockRO()
Lock node for Read-Only access.
|
(package private) boolean |
lockRW()
Lock node for Read/Write access.
|
pre, pre, pre, releaseNodeLocker(java.lang.String nodeId)
nodeId - Node ID for which operation will be performed.protected boolean lock()
lock in class DirectoryService.LockHelpertrue if preliminary steps were successful.boolean lockRO()
true if operation was successful.boolean lockRW()
true if operation was successful.