Package org.jboss.as.ejb3.tx
Class OwnableReentrantLock
java.lang.Object
org.jboss.as.ejb3.tx.OwnableReentrantLock
A lock that supports reentrancy based on owner (and not on current thread).
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OwnableReentrantLock
public OwnableReentrantLock()Creates a new lock instance.
-
-
Method Details
-
lock
-
tryLock
-
unlock
-
toString
Returns a string identifying this lock, as well as its lock state. The state, in brackets, includes either the String "Unlocked" or the String "Locked by" followed by the String representation of the lock owner.
-