Interface CacheEvent

All Known Implementing Classes:
CacheOnErrorEvent, CacheOnHitEvent, CacheOnMissEvent

public interface CacheEvent
An event which is created by a CircuitBreaker.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Event types which are created by a CircuitBreaker.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the Cache which has created the event.
    Returns the creation time of Cache event.
    Returns the type of the Cache event.
  • Method Details

    • getCacheName

      String getCacheName()
      Returns the name of the Cache which has created the event.
      Returns:
      the name of the Cache which has created the event
    • getCreationTime

      ZonedDateTime getCreationTime()
      Returns the creation time of Cache event.
      Returns:
      the creation time of Cache event
    • getEventType

      CacheEvent.Type getEventType()
      Returns the type of the Cache event.
      Returns:
      the type of the Cache event