Package io.micronaut.retry.event
Class CircuitOpenEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.retry.event.CircuitOpenEvent
- All Implemented Interfaces:
- Serializable
An event fired when the Circuit is 
CircuitState.OPEN and
 requests are no longer being accepted.- Since:
- 1.0
- Author:
- graemerocher
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionCircuitOpenEvent(ExecutableMethod<?, ?> source, RetryState retryState, Throwable throwable) 
- 
Method SummaryMethods inherited from class java.util.EventObjecttoString
- 
Constructor Details- 
CircuitOpenEvent- Parameters:
- source- A compile time produced invocation of a method call
- retryState- Encapsulate the current state of- Retryableoperation.
- throwable- The cause
 
 
- 
- 
Method Details- 
getRetryState- Returns:
- The retry context
 
- 
getThrowable- Returns:
- The original exception that will be rethrown to the user
 
- 
getSource- Overrides:
- getSourcein class- EventObject
- Returns:
- The method that represents the circuit
 
 
-