Package org.apache.storm.metric.internal
Class MultiLatencyStat<T>
java.lang.Object
org.apache.storm.metric.internal.MultiLatencyStat<T>
Keeps track of approximate latency for the last 10 mins, 3 hours, 1 day, and all time. for
 the same keys
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
MultiLatencyStatpublic MultiLatencyStat(int numBuckets) Constructor.- Parameters:
- numBuckets- the number of buckets to divide the time periods into.
 
 
- 
- 
Method Details- 
recordRecord a latency value.- Parameters:
- latency- the measurement to record
 
- 
getTimeLatAvg
- 
closepublic void close()
 
-