Package io.lettuce.core.event.metrics
Interface MetricEventPublisher
-
- All Known Implementing Classes:
DefaultCommandLatencyEventPublisher
public interface MetricEventPublisher
Event publisher which publishes metrics by the use ofevents
.- Since:
- 3.4
- Author:
- Mark Paluch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
emitMetricsEvent()
Emit immediately a metrics event.boolean
isEnabled()
Returnstrue
if the metric collector is enabled.void
shutdown()
Shut down the event publisher.
-