Class InterProcessReadWriteLock.ReadLock
- java.lang.Object
-
- org.apache.curator.framework.recipes.locks.InterProcessMutex
-
- org.apache.curator.framework.recipes.locks.InterProcessReadWriteLock.ReadLock
-
- All Implemented Interfaces:
InterProcessLock
,Revocable<InterProcessMutex>
- Enclosing class:
- InterProcessReadWriteLock
public static class InterProcessReadWriteLock.ReadLock extends InterProcessMutex
-
-
Constructor Summary
Constructors Constructor Description ReadLock(CuratorFramework client, String basePath, byte[] lockData, InterProcessReadWriteLock.WriteLock writeLock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getLockPath()
-
Methods inherited from class org.apache.curator.framework.recipes.locks.InterProcessMutex
acquire, acquire, isAcquiredInThisProcess, isOwnedByCurrentThread, makeRevocable, makeRevocable, release
-
-
-
-
Constructor Detail
-
ReadLock
public ReadLock(CuratorFramework client, String basePath, byte[] lockData, InterProcessReadWriteLock.WriteLock writeLock)
-
-
Method Detail
-
getLockPath
protected String getLockPath()
-
-