Class RWLock
java.lang.Object
java.util.concurrent.locks.ReentrantReadWriteLock
org.eclipse.net4j.util.concurrent.RWLock
- All Implemented Interfaces:
Serializable
,ReadWriteLock
- Author:
- Eike Stepper
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.locks.ReentrantReadWriteLock
ReentrantReadWriteLock.ReadLock, ReentrantReadWriteLock.WriteLock
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.concurrent.locks.ReentrantReadWriteLock
getOwner, getQueuedReaderThreads, getQueuedThreads, getQueuedWriterThreads, getQueueLength, getReadHoldCount, getReadLockCount, getWaitingThreads, getWaitQueueLength, getWriteHoldCount, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isWriteLocked, isWriteLockedByCurrentThread, readLock, toString, writeLock
-
Constructor Details
-
RWLock
public RWLock(long timeoutMillis) -
RWLock
public RWLock(long timeoutMillis, boolean fair)
-
-
Method Details
-
read
-
read
-
write
-
write
-
call
-
run
-