akka.util
Class ReentrantGuard

java.lang.Object
  extended by java.util.concurrent.locks.ReentrantLock
      extended by 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
ReentrantGuard()
           
 
Method Summary
<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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReentrantGuard

public ReentrantGuard()
Method Detail

withGuard

public final <T> T withGuard(scala.Function0<T> body)