public abstract class ScheduledStormReporter extends Object implements StormReporter
Modifier and Type | Field and Description |
---|---|
protected com.codahale.metrics.ScheduledReporter |
reporter |
protected long |
reportingPeriod |
protected TimeUnit |
reportingPeriodUnit |
REPORT_PERIOD, REPORT_PERIOD_UNITS
Constructor and Description |
---|
ScheduledStormReporter() |
Modifier and Type | Method and Description |
---|---|
static StormMetricsFilter |
getMetricsFilter(Map reporterConf) |
static long |
getReportPeriod(Map reporterConf) |
static TimeUnit |
getReportPeriodUnit(Map<String,Object> reporterConf) |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare
protected com.codahale.metrics.ScheduledReporter reporter
protected long reportingPeriod
protected TimeUnit reportingPeriodUnit
public void start()
start
in interface StormReporter
public void stop()
stop
in interface StormReporter
public static long getReportPeriod(Map reporterConf)
public static StormMetricsFilter getMetricsFilter(Map reporterConf)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.