public class ReentrantTransactionLock extends ReentrantLock implements TransactionLock
| Constructor and Description |
|---|
ReentrantTransactionLock() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
inUse() |
void |
lock(java.time.Duration timeout) |
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitunlockpublic void lock(java.time.Duration timeout)
lock in interface TransactionLockpublic boolean inUse()
inUse in interface TransactionLockCopyright © 2012–2015. All rights reserved.