Package akka.util
Class ReentrantGuard
- java.lang.Object
-
- java.util.concurrent.locks.ReentrantLock
-
- akka.util.ReentrantGuard
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.concurrent.locks.Lock
public final class ReentrantGuard extends java.util.concurrent.locks.ReentrantLock
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReentrantGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
withGuard(scala.Function0<T> body)
-
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
-
-