@ThreadSafe public class CsvSink extends Object implements Sink
Constructor and Description |
---|
CsvSink(Properties properties,
com.codahale.metrics.MetricRegistry registry)
|
Modifier and Type | Method and Description |
---|---|
void |
report()
Reports the current values of all metrics.
|
void |
start()
Starts the reporter polling.
|
void |
stop()
Stops the reporter.
|
public CsvSink(Properties properties, com.codahale.metrics.MetricRegistry registry)
properties
- the properties which may contain polling period, unit and directory
properties.registry
- the metric registry to registerCopyright © 2023. All Rights Reserved.