public class MessageCountingMonitor extends Object implements MessageMonitor<Message<?>>, com.codahale.metrics.MetricSet
MessageMonitor.MonitorCallback| Constructor and Description |
|---|
MessageCountingMonitor() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,com.codahale.metrics.Metric> |
getMetrics() |
MessageMonitor.MonitorCallback |
onMessageIngested(Message<?> 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 MessageMonitor.MonitorCallback onMessageIngested(@Nonnull Message<?> message)
MessageMonitoronMessageIngested in interface MessageMonitor<Message<?>>message - the message to monitorCopyright © 2010–2023. All rights reserved.