fr.gouv.culture.util.apache.avalon.excalibur.concurrent
Class Mutex

java.lang.Object
  extended by fr.gouv.culture.util.apache.avalon.excalibur.concurrent.Semaphore
      extended by fr.gouv.culture.util.apache.avalon.excalibur.concurrent.Mutex
All Implemented Interfaces:
EDU.oswego.cs.dl.util.concurrent.Sync
Direct Known Subclasses:
AbstractSynchronizedXMLConsumer, AbstractSynchronizedXMLProducer

public class Mutex
extends Semaphore

Since:
4.0
Version:
CVS $Revision: 1.5 $ $Date: 2010/05/24 07:56:40 $

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
Mutex()
           
 
Method Summary
 boolean acquired()
           
 boolean isAcquired()
           
 
Methods inherited from class fr.gouv.culture.util.apache.avalon.excalibur.concurrent.Semaphore
acquire, attempt, getTokens, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mutex

public Mutex()
Method Detail

isAcquired

public boolean isAcquired()
                   throws SynchronizationException
Throws:
SynchronizationException

acquired

public boolean acquired()


Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.