|Constructor and Description|
|Modifier and Type||Method and Description|
Determine based on a list of children under a ZNode, whether or not a process which created a specified ZNode has obtained a lock.
acquire, handleLockMetadata, handleLockMetadata, isChildOfSameType, isChildReadLock, isChildWriteLock, reapAllLocks, reapExpiredLocks, release, tryAcquire, updateAcquiredLock, visitLocks
protected String getLockPath(String createdZNode, List<String> children) throws IOException
createdZNode- The ZNode created by the process attempting to acquire a lock
children- List of all child ZNodes under the lock's parent ZNode
Copyright © 2015 The Apache Software Foundation. All rights reserved.