|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.dbutil.DbLockKeeper.LockHandle
public static final class DbLockKeeper.LockHandle
Handle for a specific lock. Multiple handles can be distributed for a single lock. This will only be the case when a lock is asked for the same thread multiple times.
Constructor Summary | |
---|---|
DbLockKeeper.LockHandle(to.etc.dbutil.DbLockKeeper.Lock lock)
|
Method Summary | |
---|---|
void |
release()
If this handle is the last/only handle for a lock the lock is released. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbLockKeeper.LockHandle(to.etc.dbutil.DbLockKeeper.Lock lock)
Method Detail |
---|
public void release() throws java.lang.Exception
java.lang.Exception
- when exception with releasing the lock occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |