public class SimpleLoggingMetricsConsumer extends Object implements org.apache.storm.metric.api.IMetricsConsumer
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
SimpleLoggingMetricsConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
handleDataPoints(org.apache.storm.metric.api.IMetricsConsumer.TaskInfo taskInfo,
Collection<org.apache.storm.metric.api.IMetricsConsumer.DataPoint> dataPoints) |
void |
prepare(Map stormConf,
Object registrationArgument,
org.apache.storm.task.TopologyContext context,
org.apache.storm.task.IErrorReporter errorReporter) |
public void prepare(Map stormConf, Object registrationArgument, org.apache.storm.task.TopologyContext context, org.apache.storm.task.IErrorReporter errorReporter)
prepare in interface org.apache.storm.metric.api.IMetricsConsumerpublic void handleDataPoints(org.apache.storm.metric.api.IMetricsConsumer.TaskInfo taskInfo,
Collection<org.apache.storm.metric.api.IMetricsConsumer.DataPoint> dataPoints)
handleDataPoints in interface org.apache.storm.metric.api.IMetricsConsumerpublic void cleanup()
cleanup in interface org.apache.storm.metric.api.IMetricsConsumerCopyright © 2013–2017 Europeana Cloud Development Team. All rights reserved.