Package org.apache.storm.stats
Class CommonStats
java.lang.Object
org.apache.storm.stats.CommonStats
- Direct Known Subclasses:
BoltExecutorStats
,SpoutExecutorStats
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
emittedTuple
(String stream) getAcked()
int
getRate()
abstract ExecutorStats
void
transferredTuples
(String stream, int amount) valueStat
(MultiCountStat metric) valueStat
(MultiLatencyStat metric)
-
Field Details
-
rate
protected final int rate
-
-
Constructor Details
-
CommonStats
public CommonStats(int rate, int numStatBuckets)
-
-
Method Details
-
getFailed
-
getAcked
-
getRate
public int getRate() -
getEmitted
-
getTransferred
-
emittedTuple
-
transferredTuples
-
cleanupStats
public void cleanupStats() -
valueStat
-
valueStat
-
renderStats
-