org.jboss.aspects.concurrent
Class MutexedMethodAspect
java.lang.Object
org.jboss.aspects.concurrent.MutexedMethodAspect
public class MutexedMethodAspect
- extends Object
comment
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lock
protected ReentrantLock lock
props
protected MutexedMethod props
MutexedMethodAspect
public MutexedMethodAspect(MutexedMethod m)
acquire
public Object acquire(Invocation invocation)
throws Throwable
- Throws:
Throwable
blockIndefinately
protected void blockIndefinately()
tryLock
protected void tryLock()
tryLockWithTimeout
protected void tryLockWithTimeout()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.