org.objectweb.dream.synchro
Class AbstractSemaphoreQueuedImpl.WaitQueue.WaitNode
java.lang.Object
org.objectweb.dream.synchro.AbstractSemaphoreQueuedImpl.WaitQueue.WaitNode
- All Implemented Interfaces:
- Recyclable
- Enclosing class:
- AbstractSemaphoreQueuedImpl.WaitQueue
public static class AbstractSemaphoreQueuedImpl.WaitQueue.WaitNode
- extends Object
- implements Recyclable
An element of the queue.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSemaphoreQueuedImpl.WaitQueue.WaitNode
public AbstractSemaphoreQueuedImpl.WaitQueue.WaitNode()
signal
protected boolean signal()
doTimedWait
protected boolean doTimedWait(AbstractSemaphoreQueuedImpl sem,
long msecs)
throws InterruptedException
- Throws:
InterruptedException
doWait
protected void doWait(AbstractSemaphoreQueuedImpl sem)
throws InterruptedException
- Throws:
InterruptedException
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- See Also:
Recyclable.recycle()
getReference
public Reference<? extends Recyclable> getReference()
- Specified by:
getReference
in interface Recyclable
- See Also:
Recyclable.getReference()
setReference
public void setReference(Reference<? extends Recyclable> recyclableReference)
- Specified by:
setReference
in interface Recyclable
- See Also:
Recyclable.setReference(Reference)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.