Class InterProcessReadWriteLock.WriteLock
java.lang.Object
org.apache.curator.framework.recipes.locks.InterProcessMutex
org.apache.curator.framework.recipes.locks.InterProcessReadWriteLock.WriteLock
- All Implemented Interfaces:
InterProcessLock
,Revocable<InterProcessMutex>
- Enclosing class:
InterProcessReadWriteLock
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final byte[]
final Collection
<String> Return a sorted list of all current nodes participating in the lockMethods inherited from class org.apache.curator.framework.recipes.locks.InterProcessMutex
acquire, acquire, isAcquiredInThisProcess, isOwnedByCurrentThread, makeRevocable, makeRevocable, release
-
Constructor Details
-
WriteLock
-
-
Method Details
-
getLockPath
-
getParticipantNodes
Description copied from class:InterProcessMutex
Return a sorted list of all current nodes participating in the lock- Overrides:
getParticipantNodes
in classInterProcessMutex
- Returns:
- list of nodes
- Throws:
Exception
- ZK errors, interruptions, etc.
-
getLockNodeBytes
protected final byte[] getLockNodeBytes()- Overrides:
getLockNodeBytes
in classInterProcessMutex
-