| org.jboss.ejb.BeanLockExt
All known Subclasses: org.jboss.ejb.plugins.lock.BeanLockSupport,
BeanLockExt | public interface BeanLockExt extends BeanLock(Code) | | An extension of the BeanLock interface that adds support for non-blocking
acquisition of a lock.
author: Scott.Stark@jboss.org version: $Revision: 57209 $ |
Method Summary | |
public boolean | attemptSync() A non-blocking method that checks if the calling thread will be able
to acquire the sync lock based on the calling thread. |
attemptSync | public boolean attemptSync()(Code) | | A non-blocking method that checks if the calling thread will be able
to acquire the sync lock based on the calling thread.
true if the calling thread can obtain the sync lock in whichcase it will, false if another thread already has the lock. |
|
|