Package org.jboss.jca.adapters.jdbc.util
Class ReentrantLock
- java.lang.Object
-
- java.util.concurrent.locks.ReentrantLock
-
- org.jboss.jca.adapters.jdbc.util.ReentrantLock
-
- All Implemented Interfaces:
Serializable,Lock
public class ReentrantLock extends ReentrantLock
ReentrantLock override- Author:
- Jesper Pedersen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReentrantLock(boolean fair)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadgetOwner()Collection<Thread>getQueuedThreads()-
Methods inherited from class java.util.concurrent.locks.ReentrantLock
getHoldCount, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
-
-
-
-
Method Detail
-
getOwner
public Thread getOwner()
- Overrides:
getOwnerin classReentrantLock
-
getQueuedThreads
public Collection<Thread> getQueuedThreads()
- Overrides:
getQueuedThreadsin classReentrantLock
-
-