org.jboss.aspects.concurrent
Class SemaphoredMethodAspect
java.lang.Object
org.jboss.aspects.concurrent.SemaphoredMethodAspect
public class SemaphoredMethodAspect
- extends Object
comment
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
semaphore
protected java.util.concurrent.Semaphore semaphore
props
protected SemaphoredMethod props
SemaphoredMethodAspect
public SemaphoredMethodAspect(SemaphoredMethod m)
acquire
public Object acquire(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Throws:
Throwable
blockIndefinately
protected void blockIndefinately()
tryLock
protected void tryLock()
tryLockWithTimeout
protected void tryLockWithTimeout()
Copyright © 2004 JBoss Inc. All Rights Reserved.