public static class InterProcessReadWriteLock.ReadLock extends InterProcessMutex
Constructor and Description |
---|
ReadLock(CuratorFramework client,
String basePath,
byte[] lockData,
InterProcessReadWriteLock.WriteLock writeLock) |
Modifier and Type | Method and Description |
---|---|
String |
getLockPath() |
acquire, acquire, isAcquiredInThisProcess, isOwnedByCurrentThread, makeRevocable, makeRevocable, release
public ReadLock(CuratorFramework client, String basePath, byte[] lockData, InterProcessReadWriteLock.WriteLock writeLock)
public String getLockPath()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.