Class CircuitBreakerAwareFuture


  • public final class CircuitBreakerAwareFuture
    extends scala.AnyVal
    Deprecated.
    Use akka.pattern.CircuitBreaker + ask instead. Since 2.5.0.
    Extends Future with the method failForOpenCircuitWith to handle CircuitBreakerProxy.CircuitOpenFailure failure responses throwing an exception built with the given exception builder
    • Constructor Detail

      • CircuitBreakerAwareFuture

        public CircuitBreakerAwareFuture​(scala.concurrent.Future<java.lang.Object> future)
        Deprecated.
    • Method Detail

      • failForOpenCircuitWith$extension

        public static final scala.concurrent.Future<java.lang.Object> failForOpenCircuitWith$extension​(CircuitBreakerAwareFuture $this,
                                                                                                       scala.Function0<java.lang.Throwable> throwing,
                                                                                                       scala.concurrent.ExecutionContext executionContext)
        Deprecated.
      • equals$extension

        public static final boolean equals$extension​(CircuitBreakerAwareFuture $this,
                                                     java.lang.Object x$1)
        Deprecated.
      • getClass

        public static java.lang.Class<? extends java.lang.Object> getClass()
        Deprecated.
      • future

        public scala.concurrent.Future<java.lang.Object> future()
        Deprecated.
      • failForOpenCircuit

        public scala.concurrent.Future<java.lang.Object> failForOpenCircuit​(scala.concurrent.ExecutionContext executionContext)
                                                                     throws OpenCircuitException
        Deprecated.
        Throws:
        OpenCircuitException
      • failForOpenCircuitWith

        public scala.concurrent.Future<java.lang.Object> failForOpenCircuitWith​(scala.Function0<java.lang.Throwable> throwing,
                                                                                scala.concurrent.ExecutionContext executionContext)
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Deprecated.
        Overrides:
        equals in class java.lang.Object