@ThreadSafe public final class ConsoleSink extends Object implements Sink
Constructor and Description |
---|
ConsoleSink(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 ConsoleSink(Properties properties, com.codahale.metrics.MetricRegistry registry)
properties
- the properties which may contain polling period and unit propertiesregistry
- the metric registry to registerCopyright © 2023. All Rights Reserved.