Interface MetricsPublisher<E>
-
- All Superinterfaces:
RegistryEventConsumer<E>
public interface MetricsPublisher<E> extends RegistryEventConsumer<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidonEntryAddedEvent(EntryAddedEvent<E> entryAddedEvent)default voidonEntryRemovedEvent(EntryRemovedEvent<E> entryRemoveEvent)default voidonEntryReplacedEvent(EntryReplacedEvent<E> entryReplacedEvent)voidpublishMetrics(E entry)voidremoveMetrics(E entry)
-
-
-
Method Detail
-
publishMetrics
void publishMetrics(E entry)
-
removeMetrics
void removeMetrics(E entry)
-
onEntryAddedEvent
default void onEntryAddedEvent(EntryAddedEvent<E> entryAddedEvent)
- Specified by:
onEntryAddedEventin interfaceRegistryEventConsumer<E>
-
onEntryRemovedEvent
default void onEntryRemovedEvent(EntryRemovedEvent<E> entryRemoveEvent)
- Specified by:
onEntryRemovedEventin interfaceRegistryEventConsumer<E>
-
onEntryReplacedEvent
default void onEntryReplacedEvent(EntryReplacedEvent<E> entryReplacedEvent)
- Specified by:
onEntryReplacedEventin interfaceRegistryEventConsumer<E>
-
-