Package akka.pattern.internal
Class CircuitBreakerNoopTelemetry$
- java.lang.Object
- 
- akka.pattern.internal.CircuitBreakerNoopTelemetry$
 
- 
- All Implemented Interfaces:
- CircuitBreakerTelemetry
 
 public class CircuitBreakerNoopTelemetry$ extends java.lang.Object implements CircuitBreakerTelemetry INTERNAL API
- 
- 
Field SummaryFields Modifier and Type Field Description static CircuitBreakerNoopTelemetry$MODULE$Static reference to the singleton instance of this Scala object.
 - 
Constructor SummaryConstructors Constructor Description CircuitBreakerNoopTelemetry$()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonCallBreakerOpenFailure()Invoked for each call when the future is completed withakka.pattern.CircuitBreakerOpenExceptionvoidonCallFailure(long elapsedNanos)Invoked for each call when the future is completed with exception, except forscala.concurrent.TimeoutExceptionandCircuitBreakerOpenExceptionthat are handled by separate methods.voidonCallSuccess(long elapsedNanos)Invoked for each successful call.voidonCallTimeoutFailure(long elapsedNanos)Invoked for each call when the future is completed withjava.util.concurrent.TimeoutExceptionvoidonClose()Invoked when the circuit breaker transitions to the close state.voidonHalfOpen()Invoked when the circuit breaker transitions to the half-open state after reset timeout.voidonOpen()Invoked when the circuit breaker transitions to the open state.voidstopped()Called when the circuit breaker is removed, e.g.
 
- 
- 
- 
Field Detail- 
MODULE$public static final CircuitBreakerNoopTelemetry$ MODULE$ Static reference to the singleton instance of this Scala object.
 
- 
 - 
Method Detail- 
onOpenpublic void onOpen() Description copied from interface:CircuitBreakerTelemetryInvoked when the circuit breaker transitions to the open state.- Specified by:
- onOpenin interface- CircuitBreakerTelemetry
 
 - 
onClosepublic void onClose() Description copied from interface:CircuitBreakerTelemetryInvoked when the circuit breaker transitions to the close state.- Specified by:
- onClosein interface- CircuitBreakerTelemetry
 
 - 
onHalfOpenpublic void onHalfOpen() Description copied from interface:CircuitBreakerTelemetryInvoked when the circuit breaker transitions to the half-open state after reset timeout.- Specified by:
- onHalfOpenin interface- CircuitBreakerTelemetry
 
 - 
onCallSuccesspublic void onCallSuccess(long elapsedNanos) Description copied from interface:CircuitBreakerTelemetryInvoked for each successful call.- Specified by:
- onCallSuccessin interface- CircuitBreakerTelemetry
- Parameters:
- elapsedNanos- the elapsed duration of the call in nanoseconds
 
 - 
onCallFailurepublic void onCallFailure(long elapsedNanos) Description copied from interface:CircuitBreakerTelemetryInvoked for each call when the future is completed with exception, except forscala.concurrent.TimeoutExceptionandCircuitBreakerOpenExceptionthat are handled by separate methods.- Specified by:
- onCallFailurein interface- CircuitBreakerTelemetry
- Parameters:
- elapsedNanos- the elapsed duration of the call in nanoseconds
 
 - 
onCallTimeoutFailurepublic void onCallTimeoutFailure(long elapsedNanos) Description copied from interface:CircuitBreakerTelemetryInvoked for each call when the future is completed withjava.util.concurrent.TimeoutException- Specified by:
- onCallTimeoutFailurein interface- CircuitBreakerTelemetry
- Parameters:
- elapsedNanos- the elapsed duration of the call in nanoseconds
 
 - 
onCallBreakerOpenFailurepublic void onCallBreakerOpenFailure() Description copied from interface:CircuitBreakerTelemetryInvoked for each call when the future is completed withakka.pattern.CircuitBreakerOpenException- Specified by:
- onCallBreakerOpenFailurein interface- CircuitBreakerTelemetry
 
 - 
stoppedpublic void stopped() Description copied from interface:CircuitBreakerTelemetryCalled when the circuit breaker is removed, e.g. expired due to inactivity. It is also called if the circuit breaker is re-configured, before callingCircuitBreakerTelemetryProvider.start(java.lang.String, akka.actor.ExtendedActorSystem).- Specified by:
- stoppedin interface- CircuitBreakerTelemetry
 
 
- 
 
-