org.jboss.ejb.plugins
Class BeanSemaphore

java.lang.Object
  extended by org.jboss.util.Semaphore
      extended by org.jboss.ejb.plugins.BeanSemaphore
All Implemented Interfaces:
org.jboss.util.Sync

public class BeanSemaphore
extends org.jboss.util.Semaphore

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

Version:
$Revision: 57209 $
Author:
Bill Burke

Constructor Summary
BeanSemaphore(int allowed)
           
 
Method Summary
 void invalidate()
           
 boolean isValid()
           
 
Methods inherited from class org.jboss.util.Semaphore
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()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.