Method Summary |
|
public boolean | acquire(AbstractRequest request) Acquires an exclusive lock on this table. |
public long | getLocker() Returns the transaction id of the lock owner. |
public LinkedList | getWaitingList() Returns the waitingList. |
public boolean | isLocked() Returns true if the lock is owned by someone. |
public synchronized boolean | isWaiting(long transactionId) Returns true if the given transaction id is contained in
this lock waiting queue. |
public synchronized void | release() Releases the lock on this table. |