Top Fields Constructors Methods
io.github.resilience4j.core.registry

public Class EntryReplacedEvent<E>

extends AbstractRegistryEvent
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final E
private final E

Constructor Summary

AccessConstructor and Description
pack-priv
EntryReplacedEvent(E oldEntry, E newEntry)

Method Summary

Modifier and TypeMethod and Description
public RegistryEvent.Type
getEventType()

Implements io.github.resilience4j.core.registry.RegistryEvent.getEventType.

Returns the type of the Registry event.

public E

Returns:

the new entry
getNewEntry
()

Returns the new entry.

public E

Returns:

the old entry
getOldEntry
()

Returns the old entry.

Inherited from io.github.resilience4j.core.registry.AbstractRegistryEvent:
getCreationTime

Field Detail

newEntryback to summary
private final E newEntry
oldEntryback to summary
private final E oldEntry

Constructor Detail

EntryReplacedEventback to summary
pack-priv EntryReplacedEvent(E oldEntry, E newEntry)

Method Detail

getEventTypeback to summary
public RegistryEvent.Type getEventType()

Implements io.github.resilience4j.core.registry.RegistryEvent.getEventType.

Doc from io.github.resilience4j.core.registry.RegistryEvent.getEventType.

Returns the type of the Registry event.

Returns:RegistryEvent.Type

the type of the Registry event

Annotations
@Override
getNewEntryback to summary
public E getNewEntry()

Returns the new entry.

Returns:E

the new entry

getOldEntryback to summary
public E getOldEntry()

Returns the old entry.

Returns:E

the old entry