Class EntryReplacedEvent<E>

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

public class EntryReplacedEvent<E>
extends java.lang.Object
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.github.resilience4j.core.registry.RegistryEvent

    RegistryEvent.Type
  • Method Summary

    Modifier and Type Method Description
    java.time.ZonedDateTime getCreationTime()
    Returns the creation time of Registry event.
    RegistryEvent.Type getEventType()
    Returns the type of the Registry event.
    E getNewEntry()
    Returns the new entry.
    E getOldEntry()
    Returns the old entry.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 java.time.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