public class VisibleOwnerReentrantLock extends ReentrantLock
ReentrantLock only to make the getOwner() method public.| Constructor and Description |
|---|
VisibleOwnerReentrantLock() |
| Modifier and Type | Method and Description |
|---|---|
Thread |
getOwner() |
getHoldCount, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlockpublic Thread getOwner()
getOwner in class ReentrantLockCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.