Class ScheduledStormReporter
java.lang.Object
org.apache.storm.metrics2.reporters.ScheduledStormReporter
- All Implemented Interfaces:
- com.codahale.metrics.Reporter,- Closeable,- AutoCloseable,- StormReporter
- Direct Known Subclasses:
- ConsoleStormReporter,- CsvStormReporter,- GraphiteStormReporter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.codahale.metrics.ScheduledReporterprotected longprotected TimeUnitFields inherited from interface org.apache.storm.metrics2.reporters.StormReporterREPORT_DIMENSIONS_ENABLED, REPORT_PERIOD, REPORT_PERIOD_UNITS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()static StormMetricsFiltergetMetricsFilter(Map<String, Object> reporterConf) static longgetReportPeriod(Map<String, Object> reporterConf) static TimeUnitgetReportPeriodUnit(Map<String, Object> reporterConf) static booleanisReportDimensionsEnabled(Map<String, Object> reporterConf) voidstart()voidstop()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.metrics2.reporters.StormReporterprepare, prepare
- 
Field Details- 
reporterprotected com.codahale.metrics.ScheduledReporter reporter
- 
reportingPeriodprotected long reportingPeriod
- 
reportingPeriodUnit
 
- 
- 
Constructor Details- 
ScheduledStormReporterpublic ScheduledStormReporter()
 
- 
- 
Method Details- 
getReportPeriodUnit
- 
getReportPeriod
- 
isReportDimensionsEnabled
- 
getMetricsFilter
- 
startpublic void start()- Specified by:
- startin interface- StormReporter
 
- 
stoppublic void stop()- Specified by:
- stopin interface- StormReporter
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-