org.codehaus.wadi.impl
Class RWLock.WriterLock

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

protected class RWLock.WriterLock
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
 
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
 

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.