KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > locks > ReentrantReadWriteLock

java.util.concurrent.locks
Class ReentrantReadWriteLock

java.lang.Object
  extended by java.util.concurrent.locks.ReentrantReadWriteLock
All Implemented Interfaces:
Serializable, ReadWriteLock
See Also:
Top Examples, Error, ReentrantLock.newCondition(), Condition

protected Thread getOwner()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Collection<Thread> getQueuedReaderThreads()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Collection<Thread> getQueuedThreads()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Collection<Thread> getQueuedWriterThreads()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getQueueLength()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getReadLockCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Collection<Thread> getWaitingThreads(Condition condition)
See Also:
NullPointerException, IllegalArgumentException, IllegalMonitorStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getWaitQueueLength(Condition condition)
See Also:
NullPointerException, IllegalArgumentException, IllegalMonitorStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getWriteHoldCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean hasQueuedThread(Thread thread)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean hasQueuedThreads()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean hasWaiters(Condition condition)
See Also:
NullPointerException, IllegalArgumentException, IllegalMonitorStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean isFair()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isWriteLocked()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isWriteLockedByCurrentThread()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ReentrantReadWriteLock.ReadLock readLock()
See Also:
ReadWriteLock
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ReentrantReadWriteLock()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ReentrantReadWriteLock(boolean fair)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ReentrantReadWriteLock.WriteLock writeLock()
See Also:
ReadWriteLock
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags