Class CircuitBreakerOnSuccessEvent

java.lang.Object
io.github.resilience4j.circuitbreaker.event.CircuitBreakerOnSuccessEvent
All Implemented Interfaces:
CircuitBreakerEvent

public class CircuitBreakerOnSuccessEvent
extends java.lang.Object
A CircuitBreakerEvent which informs that a success has been recorded
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.github.resilience4j.circuitbreaker.event.CircuitBreakerEvent

    CircuitBreakerEvent.Type
  • Constructor Summary

    Constructors 
    Constructor Description
    CircuitBreakerOnSuccessEvent​(java.lang.String circuitBreakerName, java.time.Duration elapsedDuration)  
  • Method Summary

    Modifier and Type Method 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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait