public class ClassicTimerListener extends CapabilityHook<TimerAttachment>
| Constructor and Description |
|---|
ClassicTimerListener(com.codahale.metrics.MetricRegistry metricRegistry,
String sessionName,
String prefix,
Pattern pattern,
String interval,
TimeUnit nanoseconds) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<TimerAttachment> |
getCapabilityClass() |
void |
onCapableAdded(String name,
TimerAttachment capable) |
void |
onCapableRemoved(String name,
TimerAttachment capable) |
onCounterAdded, onCounterRemoved, onGaugeAdded, onGaugeRemoved, onHistogramAdded, onHistogramRemoved, onMeterAdded, onMeterRemoved, onTimerAdded, onTimerRemovedpublic void onCapableAdded(String name, TimerAttachment capable)
onCapableAdded in class CapabilityHook<TimerAttachment>public void onCapableRemoved(String name, TimerAttachment capable)
onCapableRemoved in class CapabilityHook<TimerAttachment>protected Class<TimerAttachment> getCapabilityClass()
getCapabilityClass in class CapabilityHook<TimerAttachment>Copyright © 2018. All rights reserved.