Base trait for reporter MBeans.
A wrapper around metrics timer object that provides a convenient mechanism to time code blocks.
A wrapper around metrics timer object that provides a convenient mechanism to time code blocks. This pattern was borrowed from the metrics-scala_2.9.1 package.
Base trait for reporter MBeans. If a client wants to expose these JMX operations on a custom reporter (that implements kafka.metrics.KafkaMetricsReporter), the custom reporter needs to additionally implement an MBean trait that extends this trait so that the registered MBean is compliant with the standard MBean convention.