org.codehaus.wadi.impl
Class RWLock.Signaller

java.lang.Object
  extended byorg.codehaus.wadi.impl.RWLock.Signaller
Direct Known Subclasses:
RWLock.ReaderLock, RWLock.WriterLock
Enclosing class:
RWLock

protected abstract class RWLock.Signaller
extends Object

Reader and Writer requests are maintained in two different wait sets, by two different objects. These objects do not know whether the wait sets need notification since they don't know preference rules. So, each supports a method that can be selected by main controlling object to perform the notifications. This base class simplifies mechanics.


Constructor Summary
protected RWLock.Signaller()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RWLock.Signaller

protected RWLock.Signaller()


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