Class CompositeRegistryEventConsumer<E>
- java.lang.Object
-
- io.github.resilience4j.core.registry.CompositeRegistryEventConsumer<E>
-
- All Implemented Interfaces:
RegistryEventConsumer<E>
public class CompositeRegistryEventConsumer<E> extends java.lang.Object implements RegistryEventConsumer<E>
-
-
Constructor Summary
Constructors Constructor Description CompositeRegistryEventConsumer(java.util.List<RegistryEventConsumer<E>> delegates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onEntryAddedEvent(EntryAddedEvent<E> entryAddedEvent)
void
onEntryRemovedEvent(EntryRemovedEvent<E> entryRemoveEvent)
void
onEntryReplacedEvent(EntryReplacedEvent<E> entryReplacedEvent)
-
-
-
Constructor Detail
-
CompositeRegistryEventConsumer
public CompositeRegistryEventConsumer(java.util.List<RegistryEventConsumer<E>> delegates)
-
-
Method Detail
-
onEntryAddedEvent
public void onEntryAddedEvent(EntryAddedEvent<E> entryAddedEvent)
- Specified by:
onEntryAddedEvent
in interfaceRegistryEventConsumer<E>
-
onEntryRemovedEvent
public void onEntryRemovedEvent(EntryRemovedEvent<E> entryRemoveEvent)
- Specified by:
onEntryRemovedEvent
in interfaceRegistryEventConsumer<E>
-
onEntryReplacedEvent
public void onEntryReplacedEvent(EntryReplacedEvent<E> entryReplacedEvent)
- Specified by:
onEntryReplacedEvent
in interfaceRegistryEventConsumer<E>
-
-