public class CircuitBreakerOnIgnoredErrorEvent
extends java.lang.Object
CircuitBreakerEvent.Type
Constructor and Description |
---|
CircuitBreakerOnIgnoredErrorEvent(java.lang.String circuitBreakerName,
java.time.Duration elapsedDuration,
java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCircuitBreakerName()
Returns the name of the CircuitBreaker which has created the event.
|
java.time.ZonedDateTime |
getCreationTime()
Returns the creation time of CircuitBreaker event.
|
java.time.Duration |
getElapsedDuration() |
CircuitBreakerEvent.Type |
getEventType()
Returns the type of the CircuitBreaker event.
|
java.lang.Throwable |
getThrowable() |
java.lang.String |
toString() |
public CircuitBreakerOnIgnoredErrorEvent(java.lang.String circuitBreakerName, java.time.Duration elapsedDuration, java.lang.Throwable throwable)
public java.time.Duration getElapsedDuration()
public java.lang.Throwable getThrowable()
public CircuitBreakerEvent.Type getEventType()
CircuitBreakerEvent
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getCircuitBreakerName()
CircuitBreakerEvent
getCircuitBreakerName
in interface CircuitBreakerEvent
public java.time.ZonedDateTime getCreationTime()
CircuitBreakerEvent
getCreationTime
in interface CircuitBreakerEvent