public class TaskMetrics extends Object
Constructor and Description |
---|
TaskMetrics(WorkerTopologyContext context,
String componentId,
Integer taskid,
StormMetricRegistry metricRegistry) |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.Counter |
getAcked(String streamId) |
com.codahale.metrics.Counter |
getEmitted(String streamId) |
com.codahale.metrics.Counter |
getFailed(String streamId) |
com.codahale.metrics.Counter |
getTransferred(String streamId) |
public TaskMetrics(WorkerTopologyContext context, String componentId, Integer taskid, StormMetricRegistry metricRegistry)
public com.codahale.metrics.Counter getAcked(String streamId)
public com.codahale.metrics.Counter getFailed(String streamId)
public com.codahale.metrics.Counter getEmitted(String streamId)
public com.codahale.metrics.Counter getTransferred(String streamId)
Copyright © 2019 The Apache Software Foundation. All rights reserved.