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 Lock
InterruptedException
public void lockInterruptibly() throws InterruptedException
lockInterruptibly
in interface Lock
InterruptedException
public Condition newCondition()
newCondition
in interface Lock
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.