@ThreadSafe public class Slf4jSink extends Object implements Sink
Constructor and Description |
---|
Slf4jSink(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 Slf4jSink(Properties properties, com.codahale.metrics.MetricRegistry registry) throws Exception
properties
- the propertiesregistry
- the metric registry to registerException
Copyright © 2023. All Rights Reserved.