org.apache.hadoop.hbase.regionserver.wal
Class MetricsWAL

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.wal.MetricsWAL

@InterfaceAudience.Private
public class MetricsWAL
extends Object

Class used to push numbers about the WAL into the metrics subsystem. This will take a single function call and turn it into multiple manipulations of the hadoop metrics system.


Constructor Summary
MetricsWAL()
           
 
Method Summary
 void finishAppend(long time, long size)
           
 void finishSync(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsWAL

public MetricsWAL()
Method Detail

finishSync

public void finishSync(long time)

finishAppend

public void finishAppend(long time,
                         long size)


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