Class CircuitBreakerOpenRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.CircuitBreakerOpenRejection
- All Implemented Interfaces:
Serializable
,CircuitBreakerOpenRejection
,Rejection
,Rejection
,scala.Equals
,scala.Product
public final class CircuitBreakerOpenRejection
extends Object
implements CircuitBreakerOpenRejection, Rejection, scala.Product, Serializable
Rejection created by the
onCompleteWithBreaker
directive.
Signals that the request was rejected because the supplied circuit breaker is open and requests are failing fast.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCircuitBreakerOpenRejection
(org.apache.pekko.pattern.CircuitBreakerOpenException cause) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
CircuitBreakerOpenRejection
public CircuitBreakerOpenRejection(org.apache.pekko.pattern.CircuitBreakerOpenException cause)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
cause
public org.apache.pekko.pattern.CircuitBreakerOpenException cause()- Specified by:
cause
in interfaceCircuitBreakerOpenRejection
-