public abstract class AbstractReadWriteLockingStrategy extends Object implements ReadWriteLockingStrategy
| Constructor and Description |
|---|
AbstractReadWriteLockingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadLocked(long state) |
<T> boolean |
tryLock(NativeAtomicAccess<T> access,
T t,
long offset) |
<T> void |
unlock(NativeAtomicAccess<T> access,
T t,
long offset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdowngradeWriteToReadLock, isWriteLocked, readLockCount, readUnlock, tryReadLock, tryUpgradeReadToWriteLock, tryWriteLock, writeUnlockgetState, isLocked, lockCount, reset, resetState, sizeInBytes, toStringpublic <T> boolean tryLock(NativeAtomicAccess<T> access, T t, long offset)
tryLock in interface LockingStrategypublic <T> void unlock(NativeAtomicAccess<T> access, T t, long offset)
unlock in interface LockingStrategypublic boolean isReadLocked(long state)
isReadLocked in interface ReadWriteLockingStrategyCopyright © 2019. All rights reserved.