Uses of Class
com.oracle.coherence.concurrent.locks.LockOwner
-
Packages that use LockOwner Package Description com.oracle.coherence.concurrent.locks Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors.com.oracle.coherence.concurrent.locks.internal -
-
Uses of LockOwner in com.oracle.coherence.concurrent.locks
Methods in com.oracle.coherence.concurrent.locks that return LockOwner Modifier and Type Method Description LockOwnerRemoteLock. getOwner()Returns the identity of the process and thread that currently owns this lock, ornullif not owned.LockOwnerRemoteReadWriteLock. getOwner()Returns the thread that currently owns the write lock, ornullif not owned. -
Uses of LockOwner in com.oracle.coherence.concurrent.locks.internal
Methods in com.oracle.coherence.concurrent.locks.internal that return LockOwner Modifier and Type Method Description LockOwnerExclusiveLockHolder. getOwner()Return the current lock owner, if any.LockOwnerReadWriteLockHolder. getWriteLock()Return the owner of a write lock, if any.Methods in com.oracle.coherence.concurrent.locks.internal that return types with arguments of type LockOwner Modifier and Type Method Description Set<? extends LockOwner>ReadWriteLockHolder. getReadLocks()Return the set of read lock owners.Methods in com.oracle.coherence.concurrent.locks.internal with parameters of type LockOwner Modifier and Type Method Description booleanExclusiveLockHolder. isLockedBy(LockOwner owner)Returntrueif this lock is currently owned by the specifiedLockOwner.booleanReadWriteLockHolder. isLockedBy(LockOwner owner)Returntrueif this lock is currently locked for reads by the specified owner.booleanReadWriteLockHolder. isReadLockedBy(LockOwner owner)Returntrueif this lock is currently locked for reads by the specified owner.booleanReadWriteLockHolder. isWriteLockedBy(LockOwner owner)Returntrueif this lock is currently owned exclusively by the specified owner.booleanExclusiveLockHolder. lock(LockOwner owner)Attempt to acquire the lock.booleanReadWriteLockHolder. lockRead(LockOwner owner)Attempt to obtain read lock, and returntrueif successful.booleanReadWriteLockHolder. lockWrite(LockOwner owner)Attempt to obtain write lock, and returntrueif successful.booleanExclusiveLockHolder. unlock(LockOwner owner)Attempt to release the lock.booleanReadWriteLockHolder. unlockRead(LockOwner owner)Release read lock, and returntrueif successful.booleanReadWriteLockHolder. unlockWrite(LockOwner owner)Release write lock, and returntrueif successful.
-