Example usage for Java org.apache.commons.transaction.locking MultiLevelLock fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | acquire(Object ownerId, int targetLockLevel, boolean wait, boolean reentrant, long timeoutMSecs) Tries to acquire a certain lock level on this lock. |
boolean | release(Object ownerId) Releases any lock levels the specified owner may hold on this lock. |