Package org.kurento.commons
Class TimeoutReentrantLock
- java.lang.Object
-
- java.util.concurrent.locks.ReentrantLock
-
- org.kurento.commons.TimeoutReentrantLock
-
- All Implemented Interfaces:
Serializable,Lock
public class TimeoutReentrantLock extends ReentrantLock
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeoutReentrantLock(long timeout, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtryLockTimeout(String method)-
Methods inherited from class java.util.concurrent.locks.ReentrantLock
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
-
-