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