voldemort.store.stats
Class SlopStats
java.lang.Object
voldemort.store.stats.SlopStats
public class SlopStats
- extends java.lang.Object
Statistics for hinted handoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlopStats
public SlopStats(Cluster cluster)
asMap
public java.util.Map<java.lang.Integer,java.lang.Long> asMap(SlopStats.Tracked metric)
byZone
public java.util.Map<java.lang.Integer,java.lang.Long> byZone(SlopStats.Tracked metric)
getCount
public java.lang.Long getCount(SlopStats.Tracked metric,
int nodeId)
getTotalCount
public java.lang.Long getTotalCount(SlopStats.Tracked metric)
clearCount
public void clearCount(SlopStats.Tracked metric)
clearCount
public void clearCount(SlopStats.Tracked metric,
int nodeId)
incrementCount
public void incrementCount(SlopStats.Tracked metric,
int nodeId)
setCount
public void setCount(SlopStats.Tracked metric,
int nodeId,
java.lang.Long value)
setAll
public void setAll(SlopStats.Tracked metric,
java.util.Map<java.lang.Integer,java.lang.Long> newValues)
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu