org.apache.hadoop.hbase.regionserver
Class RegionServerAccounting
java.lang.Object
org.apache.hadoop.hbase.regionserver.RegionServerAccounting
public class RegionServerAccounting
- extends Object
RegionServerAccounting keeps record of some basic real time information about
the Region Server. Currently, it only keeps record the global memstore size.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionServerAccounting
public RegionServerAccounting()
getGlobalMemstoreSize
public long getGlobalMemstoreSize()
- Returns:
- the global Memstore size in the RegionServer
addAndGetGlobalMemstoreSize
public long addAndGetGlobalMemstoreSize(long memStoreSize)
- Parameters:
memStoreSize
- the Memstore size will be added to
the global Memstore size
- Returns:
- the global Memstore size in the RegionServer
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.