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(Invocation invocation)
throws Throwable
- Throws:
Throwable
blockIndefinately
protected void blockIndefinately(Semaphore semaphore)
tryLock
protected void tryLock(Semaphore semaphore)
tryLockWithTimeout
protected void tryLockWithTimeout(Semaphore semaphore)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.