站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

BeanSemaphore (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins
Class BeanSemaphore

java.lang.Object
  extended byorg.jboss.util.Semaphore
      extended byorg.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: 1.2 $
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.