org.apache.accumulo.server.tabletserver
Class TabletStatsKeeper

java.lang.Object
  extended by org.apache.accumulo.server.tabletserver.TabletStatsKeeper

public class TabletStatsKeeper
extends Object


Nested Class Summary
static class TabletStatsKeeper.Operation
           
 
Constructor Summary
TabletStatsKeeper()
           
 
Method Summary
 TabletStats getTabletStats()
           
 void incrementStatusMajor()
           
 void incrementStatusMinor()
           
 void incrementStatusSplit()
           
 void resetTimes()
           
 void saveMajorTimes(TabletStatsKeeper t)
           
 void saveMinorTimes(TabletStatsKeeper t)
           
static void update(ActionStats summary, ActionStats td)
           
 void updateTime(TabletStatsKeeper.Operation operation, long start, long count, boolean failed)
           
 void updateTime(TabletStatsKeeper.Operation operation, long queued, long start, long count, boolean failed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabletStatsKeeper

public TabletStatsKeeper()
Method Detail

update

public static void update(ActionStats summary,
                          ActionStats td)

updateTime

public void updateTime(TabletStatsKeeper.Operation operation,
                       long queued,
                       long start,
                       long count,
                       boolean failed)

updateTime

public void updateTime(TabletStatsKeeper.Operation operation,
                       long start,
                       long count,
                       boolean failed)

saveMinorTimes

public void saveMinorTimes(TabletStatsKeeper t)

saveMajorTimes

public void saveMajorTimes(TabletStatsKeeper t)

resetTimes

public void resetTimes()

incrementStatusMinor

public void incrementStatusMinor()

incrementStatusMajor

public void incrementStatusMajor()

incrementStatusSplit

public void incrementStatusSplit()

getTabletStats

public TabletStats getTabletStats()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.