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.
-
Method Details
-
getEventType
Description copied from interface:RegistryEvent
Returns the type of the Registry event.- Returns:
- the type of the Registry event
-
getOldEntry
Returns the old entry.- Returns:
- the old entry
-
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 interfaceRegistryEvent
- Returns:
- the creation time of Registry event
-