Interface ResourceLock<O>
- All Known Implementing Classes:
LockStoreImpl.ResourceLockImpl
public interface ResourceLock<O>
-
Method Summary
Modifier and TypeMethodDescriptionGet an exclusive lock on the lock which prevents concurent modification of the state of the read locks or the write lock.null if the write lock is not ownedOwner to lock
-
Method Details
-
getMgmtLockOwnerKey
O getMgmtLockOwnerKey()Get an exclusive lock on the lock which prevents concurent modification of the state of the read locks or the write lock. This means that theandinvalid reference
#acquireReadLock(Object)methods both need to acquire the management lock firstinvalid reference
#acquireWriteLock(Object)- Returns:
-
get
-
streamReadLockOwnerKeys
-
getWriteLockOwnerKey
-