Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.util.concurrent.locks
Class VisibleOwnerReentrantLock

java.lang.Object
  extended by java.util.concurrent.locks.ReentrantLock
      extended by 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

Constructor Summary
VisibleOwnerReentrantLock()
           
 
Method Summary
 Thread getOwner()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VisibleOwnerReentrantLock

public VisibleOwnerReentrantLock()
Method Detail

getOwner

public Thread getOwner()
Overrides:
getOwner in class ReentrantLock

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.