public class TaskMetrics extends Object
Constructor and Description |
---|
TaskMetrics(WorkerTopologyContext context,
String componentId,
Integer taskid,
StormMetricRegistry metricRegistry,
Map<String,Object> topoConf) |
Modifier and Type | Method and Description |
---|---|
void |
boltAckedTuple(String sourceComponentId,
String sourceStreamId,
long latencyMs) |
void |
boltExecuteTuple(String sourceComponentId,
String sourceStreamId,
long latencyMs) |
void |
boltFailedTuple(String sourceComponentId,
String sourceStreamId) |
void |
emittedTuple(String streamId) |
void |
setCapacity(double capacity) |
void |
spoutAckedTuple(String streamId,
long latencyMs) |
void |
spoutFailedTuple(String streamId) |
void |
transferredTuples(String streamId,
int amount) |
public TaskMetrics(WorkerTopologyContext context, String componentId, Integer taskid, StormMetricRegistry metricRegistry, Map<String,Object> topoConf)
public void setCapacity(double capacity)
public void spoutAckedTuple(String streamId, long latencyMs)
public void boltAckedTuple(String sourceComponentId, String sourceStreamId, long latencyMs)
public void spoutFailedTuple(String streamId)
public void emittedTuple(String streamId)
public void transferredTuples(String streamId, int amount)
Copyright © 2023 The Apache Software Foundation. All rights reserved.