Package org.apache.pekko.util
Class ReentrantGuard
- java.lang.Object
-
- java.util.concurrent.locks.ReentrantLock
-
- org.apache.pekko.util.ReentrantGuard
-
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.locks.Lock
public final class ReentrantGuard extends java.util.concurrent.locks.ReentrantLockDeprecated.Use java.util.concurrent.locks.ReentrantLock directly, will be removed in Pekko 2.0.0. Since 1.2.1.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReentrantGuard()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> TwithGuard(scala.Function0<T> body)Deprecated.-
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
-
-