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_DIMENSIONS_ENABLED, REPORT_PERIOD, REPORT_PERIOD_UNITS
Constructor and Description |
---|
ScheduledStormReporter() |
Modifier and Type | Method and Description |
---|---|
static StormMetricsFilter |
getMetricsFilter(Map<String,Object> reporterConf) |
static long |
getReportPeriod(Map<String,Object> reporterConf) |
static TimeUnit |
getReportPeriodUnit(Map<String,Object> reporterConf) |
static boolean |
isReportDimensionsEnabled(Map<String,Object> reporterConf) |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare, prepare
protected com.codahale.metrics.ScheduledReporter reporter
protected long reportingPeriod
protected TimeUnit reportingPeriodUnit
public static boolean isReportDimensionsEnabled(Map<String,Object> reporterConf)
public static StormMetricsFilter getMetricsFilter(Map<String,Object> reporterConf)
public void start()
start
in interface StormReporter
public void stop()
stop
in interface StormReporter
Copyright © 2023 The Apache Software Foundation. All rights reserved.