Package io.github.resilience4j.core
Interface Registry.EventPublisher<E>
- All Superinterfaces:
EventPublisher<RegistryEvent>
public static interface Registry.EventPublisher<E> extends EventPublisher<RegistryEvent>
An EventPublisher can be used to register event consumers.
-
Method Summary
Modifier and Type Method Description Registry.EventPublisher<E>
onEntryAdded(EventConsumer<EntryAddedEvent<E>> eventConsumer)
Registry.EventPublisher<E>
onEntryRemoved(EventConsumer<EntryRemovedEvent<E>> eventConsumer)
Registry.EventPublisher<E>
onEntryReplaced(EventConsumer<EntryReplacedEvent<E>> eventConsumer)