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, makeInvalidpublic static final String _rcsid
public ZooKeeperLockObject(LockPool lockPool, Object lockKey, ZooKeeperConnectionPool pool)
protected void obtainGlobalWriteLockNoWait()
throws ManifoldCFException,
LockException,
InterruptedException
obtainGlobalWriteLockNoWait in class LockObjectManifoldCFExceptionLockExceptionInterruptedExceptionprotected void obtainGlobalWriteLock()
throws ManifoldCFException,
InterruptedException
obtainGlobalWriteLock in class LockObjectManifoldCFExceptionInterruptedExceptionprotected void clearGlobalWriteLockNoWait()
throws ManifoldCFException,
LockException,
InterruptedException
clearGlobalWriteLockNoWait in class LockObjectManifoldCFExceptionLockExceptionInterruptedExceptionprotected void obtainGlobalNonExWriteLockNoWait()
throws ManifoldCFException,
LockException,
InterruptedException
obtainGlobalNonExWriteLockNoWait in class LockObjectManifoldCFExceptionLockExceptionInterruptedExceptionprotected void obtainGlobalNonExWriteLock()
throws ManifoldCFException,
InterruptedException
obtainGlobalNonExWriteLock in class LockObjectManifoldCFExceptionInterruptedExceptionprotected void clearGlobalNonExWriteLockNoWait()
throws ManifoldCFException,
LockException,
InterruptedException
clearGlobalNonExWriteLockNoWait in class LockObjectManifoldCFExceptionLockExceptionInterruptedExceptionprotected void obtainGlobalReadLockNoWait()
throws ManifoldCFException,
LockException,
InterruptedException
obtainGlobalReadLockNoWait in class LockObjectManifoldCFExceptionLockExceptionInterruptedExceptionprotected void obtainGlobalReadLock()
throws ManifoldCFException,
InterruptedException
obtainGlobalReadLock in class LockObjectManifoldCFExceptionInterruptedExceptionprotected void clearGlobalReadLockNoWait()
throws ManifoldCFException,
LockException,
InterruptedException
clearGlobalReadLockNoWait in class LockObjectManifoldCFExceptionLockExceptionInterruptedExceptionprotected void clearLock()
throws ManifoldCFException,
InterruptedException