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, unlock
public Thread getOwner()
getOwner
in class ReentrantLock
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.