public class ZooKeeperLockObject extends LockObject
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
LOCKEDANOTHERJVM, LOCKEDANOTHERTHREAD, lockKey
Constructor and Description |
---|
ZooKeeperLockObject(LockPool lockPool,
Object lockKey,
ZooKeeperConnectionPool pool) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearGlobalNonExWriteLockNoWait() |
protected void |
clearGlobalReadLockNoWait() |
protected void |
clearGlobalWriteLockNoWait() |
protected void |
clearLock() |
protected void |
obtainGlobalNonExWriteLock() |
protected void |
obtainGlobalNonExWriteLockNoWait() |
protected void |
obtainGlobalReadLock() |
protected void |
obtainGlobalReadLockNoWait() |
protected void |
obtainGlobalWriteLock() |
protected void |
obtainGlobalWriteLockNoWait() |
clearGlobalNonExWriteLock, clearGlobalReadLock, clearGlobalWriteLock, enterNonExWriteLock, enterNonExWriteLockNoWait, enterReadLock, enterReadLockNoWait, enterWriteLock, enterWriteLockNoWait, leaveNonExWriteLock, leaveReadLock, leaveWriteLock, makeInvalid
public static final String _rcsid
public ZooKeeperLockObject(LockPool lockPool, Object lockKey, ZooKeeperConnectionPool pool)
protected void obtainGlobalWriteLockNoWait() throws ManifoldCFException, LockException, InterruptedException
obtainGlobalWriteLockNoWait
in class LockObject
ManifoldCFException
LockException
InterruptedException
protected void obtainGlobalWriteLock() throws ManifoldCFException, InterruptedException
obtainGlobalWriteLock
in class LockObject
ManifoldCFException
InterruptedException
protected void clearGlobalWriteLockNoWait() throws ManifoldCFException, LockException, InterruptedException
clearGlobalWriteLockNoWait
in class LockObject
ManifoldCFException
LockException
InterruptedException
protected void obtainGlobalNonExWriteLockNoWait() throws ManifoldCFException, LockException, InterruptedException
obtainGlobalNonExWriteLockNoWait
in class LockObject
ManifoldCFException
LockException
InterruptedException
protected void obtainGlobalNonExWriteLock() throws ManifoldCFException, InterruptedException
obtainGlobalNonExWriteLock
in class LockObject
ManifoldCFException
InterruptedException
protected void clearGlobalNonExWriteLockNoWait() throws ManifoldCFException, LockException, InterruptedException
clearGlobalNonExWriteLockNoWait
in class LockObject
ManifoldCFException
LockException
InterruptedException
protected void obtainGlobalReadLockNoWait() throws ManifoldCFException, LockException, InterruptedException
obtainGlobalReadLockNoWait
in class LockObject
ManifoldCFException
LockException
InterruptedException
protected void obtainGlobalReadLock() throws ManifoldCFException, InterruptedException
obtainGlobalReadLock
in class LockObject
ManifoldCFException
InterruptedException
protected void clearGlobalReadLockNoWait() throws ManifoldCFException, LockException, InterruptedException
clearGlobalReadLockNoWait
in class LockObject
ManifoldCFException
LockException
InterruptedException
protected void clearLock() throws ManifoldCFException, InterruptedException