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 SummaryConstructorsConstructorDescriptionCircuitBreakerOpenRejection(org.apache.pekko.pattern.CircuitBreakerOpenException cause) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
CircuitBreakerOpenRejectionpublic CircuitBreakerOpenRejection(org.apache.pekko.pattern.CircuitBreakerOpenException cause) 
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1) 
- 
toString
- 
causepublic org.apache.pekko.pattern.CircuitBreakerOpenException cause()- Specified by:
- causein interface- CircuitBreakerOpenRejection
 
 
-