org.jboss.cache.lock
Class ReadWriteLockWithUpgrade.ReaderLock
java.lang.Object
org.jboss.cache.lock.ReadWriteLockWithUpgrade.ReaderLock
- All Implemented Interfaces:
- org.jboss.cache.lock.ReadWriteLockWithUpgrade.Signaller, EDU.oswego.cs.dl.util.concurrent.Sync
- Enclosing class:
- ReadWriteLockWithUpgrade
- protected class ReadWriteLockWithUpgrade.ReaderLock
- extends Object
- implements org.jboss.cache.lock.ReadWriteLockWithUpgrade.Signaller, EDU.oswego.cs.dl.util.concurrent.Sync
Fields inherited from interface EDU.oswego.cs.dl.util.concurrent.Sync |
ONE_CENTURY, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, ONE_YEAR |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadWriteLockWithUpgrade.ReaderLock
protected ReadWriteLockWithUpgrade.ReaderLock()
acquire
public void acquire()
throws InterruptedException
- Specified by:
acquire
in interface EDU.oswego.cs.dl.util.concurrent.Sync
- Throws:
InterruptedException
release
public void release()
- Specified by:
release
in interface EDU.oswego.cs.dl.util.concurrent.Sync
signalWaiters
public void signalWaiters()
- Specified by:
signalWaiters
in interface org.jboss.cache.lock.ReadWriteLockWithUpgrade.Signaller
attempt
public boolean attempt(long msecs)
throws InterruptedException
- Specified by:
attempt
in interface EDU.oswego.cs.dl.util.concurrent.Sync
- Throws:
InterruptedException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.