org.codehaus.wadi.impl
Class RWLock.ReaderLock

java.lang.Object
  extended byorg.codehaus.wadi.impl.RWLock.Signaller
      extended byorg.codehaus.wadi.impl.RWLock.ReaderLock
All Implemented Interfaces:
Sync
Enclosing class:
RWLock

protected class RWLock.ReaderLock
extends RWLock.Signaller
implements Sync


Field Summary
 
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
 
Constructor Summary
protected RWLock.ReaderLock()
           
 
Method Summary
 void acquire()
           
 boolean attempt(long msecs)
           
 void release()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RWLock.ReaderLock

protected RWLock.ReaderLock()
Method Detail

toString

public String toString()

acquire

public void acquire()
             throws InterruptedException
Specified by:
acquire in interface Sync
Throws:
InterruptedException

release

public void release()
Specified by:
release in interface Sync

attempt

public boolean attempt(long msecs)
                throws InterruptedException
Specified by:
attempt in interface Sync
Throws:
InterruptedException


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.