org.jboss.cache.lock
Class ReadWriteLockWithUpgrade.ReaderLock
java.lang.Object
org.jboss.cache.lock.ReadWriteLockWithUpgrade.ReaderLock
- All Implemented Interfaces:
- Lock
- Enclosing class:
- ReadWriteLockWithUpgrade
protected class ReadWriteLockWithUpgrade.ReaderLock
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadWriteLockWithUpgrade.ReaderLock
protected ReadWriteLockWithUpgrade.ReaderLock()
unlock
public void unlock()
- Specified by:
unlock
in interface Lock
signalWaiters
public void signalWaiters()
tryLock
public boolean tryLock(long time,
TimeUnit unit)
throws InterruptedException
- Specified by:
tryLock
in interface Lock
- Throws:
InterruptedException
lock
public void lock()
- Specified by:
lock
in interface Lock
lockInterruptibly
public void lockInterruptibly()
throws InterruptedException
- Specified by:
lockInterruptibly
in interface Lock
- Throws:
InterruptedException
newCondition
public Condition newCondition()
- Specified by:
newCondition
in interface Lock
tryLock
public boolean tryLock()
- Specified by:
tryLock
in interface Lock
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.