Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.ejb
Interface BeanLockExt

All Superinterfaces:
  BeanLock

All Known Implementing Classes:
  BeanLockSupport

public interface BeanLockExt
extends BeanLock

An extension of the BeanLock interface that adds support for non-blocking acquisition of a lock.

Version:
  $Revision: 1.1 $
Author:
  Scott.Stark@jboss.org

Method Summary
`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.

Methods inherited from interface org.jboss.ejb.BeanLock
`addRef, endInvocation, endTransaction, getId, getRefs, getTransaction, releaseSync, removeRef, schedule, setContainer, setId, setTimeout, setTransaction, sync, wontSynchronize`

Method Detail

### attemptSync

    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.

  Returns:
    true if the calling thread can obtain the sync lock in which case it will, false if another thread already has the lock.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.