akka.pattern
Class CircuitBreakerOpenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by akka.AkkaException
                  extended by akka.pattern.CircuitBreakerOpenException
All Implemented Interfaces:
java.io.Serializable, scala.util.control.NoStackTrace

public class CircuitBreakerOpenException
extends AkkaException
implements scala.util.control.NoStackTrace

Exception thrown when Circuit Breaker is open.

param: remainingDuration Stores remaining time before attempting a reset. Zero duration means the breaker is currently in half-open state. param: message Defaults to "Circuit Breaker is open; calls are failing fast"

See Also:
Serialized Form

Constructor Summary
CircuitBreakerOpenException(scala.concurrent.duration.FiniteDuration remainingDuration, java.lang.String message)
           
 
Method Summary
 scala.concurrent.duration.FiniteDuration remainingDuration()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface scala.util.control.NoStackTrace
fillInStackTrace
 

Constructor Detail

CircuitBreakerOpenException

public CircuitBreakerOpenException(scala.concurrent.duration.FiniteDuration remainingDuration,
                                   java.lang.String message)
Method Detail

remainingDuration

public scala.concurrent.duration.FiniteDuration remainingDuration()