voldemort.store.stats
Class SlopStats

java.lang.Object
  extended by voldemort.store.stats.SlopStats

public class SlopStats
extends java.lang.Object

Statistics for hinted handoff


Nested Class Summary
static class SlopStats.Tracked
           
 
Constructor Summary
SlopStats(Cluster cluster)
           
 
Method Summary
 java.util.Map<java.lang.Integer,java.lang.Long> asMap(SlopStats.Tracked metric)
           
 java.util.Map<java.lang.Integer,java.lang.Long> byZone(SlopStats.Tracked metric)
           
 void clearCount(SlopStats.Tracked metric)
           
 void clearCount(SlopStats.Tracked metric, int nodeId)
           
 java.lang.Long getCount(SlopStats.Tracked metric, int nodeId)
           
 java.lang.Long getTotalCount(SlopStats.Tracked metric)
           
 void incrementCount(SlopStats.Tracked metric, int nodeId)
           
 void setAll(SlopStats.Tracked metric, java.util.Map<java.lang.Integer,java.lang.Long> newValues)
           
 void setCount(SlopStats.Tracked metric, int nodeId, java.lang.Long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlopStats

public SlopStats(Cluster cluster)
Method Detail

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