| Package | Description |
|---|---|
| org.apache.manifoldcf.core.interfaces | |
| org.apache.manifoldcf.core.lockmanager |
| Modifier and Type | Method and Description |
|---|---|
void |
ILockManager.enterLocksNoWait(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks)
Enter multiple locks simultaneously.
|
void |
ILockManager.enterNonExWriteLockNoWait(java.lang.String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
ILockManager.enterReadLockNoWait(java.lang.String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer).
|
void |
ILockManager.enterWriteLockNoWait(java.lang.String lockKey)
Enter a write locked code area (i.e., block out both readers and other writers),
but do not wait if the lock cannot be obtained.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
FileLockObject.clearGlobalNonExWriteLockNoWait() |
protected void |
LockObject.clearGlobalNonExWriteLockNoWait() |
protected void |
ZooKeeperLockObject.clearGlobalNonExWriteLockNoWait() |
protected void |
FileLockObject.clearGlobalReadLockNoWait() |
protected void |
LockObject.clearGlobalReadLockNoWait() |
protected void |
ZooKeeperLockObject.clearGlobalReadLockNoWait() |
protected void |
FileLockObject.clearGlobalWriteLockNoWait() |
protected void |
LockObject.clearGlobalWriteLockNoWait() |
protected void |
ZooKeeperLockObject.clearGlobalWriteLockNoWait() |
void |
BaseLockManager.enterLocksNoWait(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks) |
void |
LockManager.enterLocksNoWait(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks) |
void |
LockObject.enterNonExWriteLockNoWait()
Note well: Upgrading a read lock to a non-ex write lock is tricky.
|
void |
LockGate.enterNonExWriteLockNoWait(java.lang.Long threadID) |
void |
BaseLockManager.enterNonExWriteLockNoWait(java.lang.String lockKey) |
void |
LockManager.enterNonExWriteLockNoWait(java.lang.String lockKey) |
protected static void |
BaseLockManager.enterNonExWriteNoWait(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected static void |
BaseLockManager.enterNoWait(java.lang.Long threadID,
java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
LockObject.enterReadLockNoWait() |
void |
LockGate.enterReadLockNoWait(java.lang.Long threadID) |
void |
BaseLockManager.enterReadLockNoWait(java.lang.String lockKey) |
void |
LockManager.enterReadLockNoWait(java.lang.String lockKey) |
protected static void |
BaseLockManager.enterReadNoWait(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
LockObject.enterWriteLockNoWait()
Note well: Upgrading a read lock to a non-ex write lock is tricky.
|
void |
LockGate.enterWriteLockNoWait(java.lang.Long threadID) |
void |
BaseLockManager.enterWriteLockNoWait(java.lang.String lockKey) |
void |
LockManager.enterWriteLockNoWait(java.lang.String lockKey) |
protected static void |
BaseLockManager.enterWriteNoWait(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected void |
FileLockObject.obtainGlobalNonExWriteLockNoWait() |
protected void |
LockObject.obtainGlobalNonExWriteLockNoWait() |
protected void |
ZooKeeperLockObject.obtainGlobalNonExWriteLockNoWait() |
protected void |
FileLockObject.obtainGlobalReadLockNoWait() |
protected void |
LockObject.obtainGlobalReadLockNoWait() |
protected void |
ZooKeeperLockObject.obtainGlobalReadLockNoWait() |
protected void |
FileLockObject.obtainGlobalWriteLockNoWait() |
protected void |
LockObject.obtainGlobalWriteLockNoWait() |
protected void |
ZooKeeperLockObject.obtainGlobalWriteLockNoWait() |