public class DropwizardMetricsCollector extends Object implements MetricsCollector
| Constructor and Description |
|---|
DropwizardMetricsCollector() |
DropwizardMetricsCollector(com.codahale.metrics.MetricRegistry metricRegistry) |
DropwizardMetricsCollector(com.codahale.metrics.MetricRegistry registry,
String metricsPrefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
chunk(int entriesCount) |
void |
closeConnection() |
void |
consume(long count) |
void |
openConnection() |
void |
publish(int count) |
void |
publishConfirm(int count) |
void |
publishError(int count) |
void |
readBytes(int readBytes) |
void |
writtenBytes(int writtenBytes) |
public DropwizardMetricsCollector(com.codahale.metrics.MetricRegistry registry,
String metricsPrefix)
public DropwizardMetricsCollector()
public DropwizardMetricsCollector(com.codahale.metrics.MetricRegistry metricRegistry)
public void openConnection()
openConnection in interface MetricsCollectorpublic void closeConnection()
closeConnection in interface MetricsCollectorpublic void publish(int count)
publish in interface MetricsCollectorpublic void publishConfirm(int count)
publishConfirm in interface MetricsCollectorpublic void publishError(int count)
publishError in interface MetricsCollectorpublic void chunk(int entriesCount)
chunk in interface MetricsCollectorpublic void consume(long count)
consume in interface MetricsCollectorpublic void writtenBytes(int writtenBytes)
writtenBytes in interface MetricsCollectorpublic void readBytes(int readBytes)
readBytes in interface MetricsCollectorCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.