org.jboss.ejb.plugins
Class BeanSemaphore

java.lang.Object
  extended byorg.jboss.util.Semaphore (src) 
      extended byorg.jboss.ejb.plugins.BeanSemaphore
All Implemented Interfaces:
Sync (src)

public class BeanSemaphore
extends Semaphore (src)

Allow ability to mark a Semaphore as no longer valid for mutex locking


Constructor Summary
BeanSemaphore(int allowed)
           
 
Method Summary
 void invalidate()
           
 boolean isValid()
           
 
Methods inherited from class org.jboss.util.Semaphore (src)
acquire, getUsers, logAcquire, logDeadlock, logRelease, release, toString, waitImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanSemaphore

public BeanSemaphore(int allowed)
Method Detail

invalidate

public void invalidate()

isValid

public boolean isValid()