org.infinispan.util.concurrent.locks
Class VisibleOwnerReentrantLock
java.lang.Object
java.util.concurrent.locks.ReentrantLock
org.infinispan.util.concurrent.locks.VisibleOwnerReentrantLock
- All Implemented Interfaces:
- Serializable, Lock
- Direct Known Subclasses:
- VisibleOwnerRefCountingReentrantLock
public class VisibleOwnerReentrantLock
- extends ReentrantLock
Extends ReentrantLock
only to make the getOwner()
method public.
- Since:
- 5.2
- Author:
- Dan Berindei
- See Also:
- Serialized Form
Methods inherited from class java.util.concurrent.locks.ReentrantLock |
getHoldCount, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock |
VisibleOwnerReentrantLock
public VisibleOwnerReentrantLock()
getOwner
public Thread getOwner()
- Overrides:
getOwner
in class ReentrantLock
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.