org.objectweb.dream.synchro
Class SemaphoreFIFOImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.synchro.SemaphoreImpl
org.objectweb.dream.synchro.AbstractSemaphoreQueuedImpl
org.objectweb.dream.synchro.SemaphoreFIFOImpl
- All Implemented Interfaces:
- ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, Semaphore, SemaphoreAttributeController, AttributeController, BindingController, LifeCycleController
public class SemaphoreFIFOImpl
- extends AbstractSemaphoreQueuedImpl
FIFO implementation of the Semaphore
interface. Waiting requests will
be satisfied in FIFO order.
Note: Inspired by Doug Lea's implementation.
Methods inherited from class org.objectweb.dream.AbstractComponent |
beforeFirstStart, bindFc, bindFc, getFcNeedAsyncStart, getFcState, initComponent, lookupFc, prepareStopFc, setLogger, startFc, stopFc, unbindFc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SemaphoreFIFOImpl
public SemaphoreFIFOImpl()
- Constructor.
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.