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 static long getReportPeriod(Map reporterConf)
public static StormMetricsFilter getMetricsFilter(Map reporterConf)
public void start()
start
in interface StormReporter
public void stop()
stop
in interface StormReporter
Copyright © 2022 The Apache Software Foundation. All rights reserved.