public class EventProcessorLatencyMonitor extends Object implements MessageMonitor<EventMessage<?>>
MessageMonitor.MonitorCallback| Modifier and Type | Method and Description |
|---|---|
static EventProcessorLatencyMonitor |
buildMonitor(String meterNamePrefix,
io.micrometer.core.instrument.MeterRegistry meterRegistry)
Creates an event processor latency monitor
|
MessageMonitor.MonitorCallback |
onMessageIngested(EventMessage<?> message)
Takes a message and returns a callback that should be used
to inform the message monitor about the result of processing the message
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonMessagesIngestedpublic static EventProcessorLatencyMonitor buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry)
meterNamePrefix - The prefix for the meter name that will be created in the given meterRegistrymeterRegistry - The meter registry used to create and register the meterspublic MessageMonitor.MonitorCallback onMessageIngested(EventMessage<?> message)
MessageMonitoronMessageIngested in interface MessageMonitor<EventMessage<?>>message - the message to monitorCopyright © 2010–2019. All rights reserved.