Class EntryReplacedEvent<E>

java.lang.Object
io.github.resilience4j.core.registry.EntryReplacedEvent<E>
All Implemented Interfaces:
RegistryEvent

public class EntryReplacedEvent<E> extends Object
  • Method Details

    • getEventType

      public RegistryEvent.Type getEventType()
      Description copied from interface: RegistryEvent
      Returns the type of the Registry event.
      Returns:
      the type of the Registry event
    • getOldEntry

      public E getOldEntry()
      Returns the old entry.
      Returns:
      the old entry
    • getNewEntry

      public E getNewEntry()
      Returns the new entry.
      Returns:
      the new entry
    • getCreationTime

      public ZonedDateTime getCreationTime()
      Description copied from interface: RegistryEvent
      Returns the creation time of Registry event.
      Specified by:
      getCreationTime in interface RegistryEvent
      Returns:
      the creation time of Registry event