KickJava   Java API By Example, From Geeks To Geeks.

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

java.util.concurrent.locks
Class ReentrantReadWriteLock.ReadLock

java.lang.Object
  extended by java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock
All Implemented Interfaces:
Serializable, Lock
Enclosing class:
ReentrantReadWriteLock
See Also:
ReentrantReadWriteLock.readLock()

public void lock()
See Also:
Lock
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void lockInterruptibly()
                       throws InterruptedException
See Also:
Thread.interrupt(), Lock
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Condition newCondition()
See Also:
UnsupportedOperationException, Lock
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected ReentrantReadWriteLock.ReadLock(ReentrantReadWriteLock lock)
See Also:
NullPointerException
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 boolean tryLock()
See Also:
Lock, tryLock(0, TimeUnit.SECONDS)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean tryLock(long timeout,
                       TimeUnit unit)
                throws InterruptedException
See Also:
Thread.interrupt(), NullPointerException, Lock, tryLock()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void unlock()
See Also:
Lock
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags