Package akka.pattern

Class CircuitBreakerOpenException

  • All Implemented Interfaces:
    java.io.Serializable, scala.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

      Constructors 
      Constructor Description
      CircuitBreakerOpenException​(scala.concurrent.duration.FiniteDuration remainingDuration, java.lang.String message)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String $lessinit$greater$default$2()  
      static void addSuppressed​(java.lang.Throwable x$1)  
      static java.lang.Throwable fillInStackTrace()  
      static java.lang.Throwable getCause()  
      static java.lang.String getLocalizedMessage()  
      static java.lang.String getMessage()  
      static java.lang.StackTraceElement[] getStackTrace()  
      static java.lang.Throwable[] getSuppressed()  
      static java.lang.Throwable initCause​(java.lang.Throwable x$1)  
      static void printStackTrace()  
      static void printStackTrace​(java.io.PrintStream x$1)  
      static void printStackTrace​(java.io.PrintWriter x$1)  
      scala.concurrent.duration.FiniteDuration remainingDuration()  
      static void setStackTrace​(java.lang.StackTraceElement[] x$1)  
      static java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • $lessinit$greater$default$2

        public static java.lang.String $lessinit$greater$default$2()
      • getMessage

        public static java.lang.String getMessage()
      • getLocalizedMessage

        public static java.lang.String getLocalizedMessage()
      • getCause

        public static java.lang.Throwable getCause()
      • initCause

        public static java.lang.Throwable initCause​(java.lang.Throwable x$1)
      • toString

        public static java.lang.String toString()
      • printStackTrace

        public static void printStackTrace()
      • printStackTrace

        public static void printStackTrace​(java.io.PrintStream x$1)
      • printStackTrace

        public static void printStackTrace​(java.io.PrintWriter x$1)
      • getStackTrace

        public static java.lang.StackTraceElement[] getStackTrace()
      • setStackTrace

        public static void setStackTrace​(java.lang.StackTraceElement[] x$1)
      • addSuppressed

        public static final void addSuppressed​(java.lang.Throwable x$1)
      • getSuppressed

        public static final java.lang.Throwable[] getSuppressed()
      • fillInStackTrace

        public static java.lang.Throwable fillInStackTrace()
      • remainingDuration

        public scala.concurrent.duration.FiniteDuration remainingDuration()