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, waitprepare, prepareprotected 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 StormReporterpublic void stop()
stop in interface StormReporterCopyright © 2021 The Apache Software Foundation. All rights reserved.