public class CircuitBreakerOnSuccessEvent
extends java.lang.Object
CircuitBreakerEvent.Type
Constructor and Description |
---|
CircuitBreakerOnSuccessEvent(java.lang.String circuitBreakerName,
java.time.Duration elapsedDuration) |
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.String |
toString() |
public CircuitBreakerOnSuccessEvent(java.lang.String circuitBreakerName, java.time.Duration elapsedDuration)
public java.time.Duration getElapsedDuration()
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