protected class ReadWriteLockWithUpgrade.ReaderLock extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ReadWriteLockWithUpgrade.ReaderLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
lock() |
void |
lockInterruptibly() |
Condition |
newCondition() |
void |
signalWaiters() |
boolean |
tryLock() |
boolean |
tryLock(long time,
TimeUnit unit) |
void |
unlock() |
protected ReadWriteLockWithUpgrade.ReaderLock()
public void signalWaiters()
public boolean tryLock(long time,
TimeUnit unit)
throws InterruptedException
tryLock in interface LockInterruptedExceptionpublic void lockInterruptibly()
throws InterruptedException
lockInterruptibly in interface LockInterruptedExceptionpublic Condition newCondition()
newCondition in interface LockCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.