org.apache.hadoop.hdfs
Class DFSHedgedReadMetrics
java.lang.Object
org.apache.hadoop.hdfs.DFSHedgedReadMetrics
public class DFSHedgedReadMetrics
- extends Object
The client-side metrics for hedged read feature.
This class has a number of metrics variables that are publicly accessible,
we can grab them from client side, like HBase.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hedgedReadOps
public final AtomicLong hedgedReadOps
hedgedReadOpsWin
public final AtomicLong hedgedReadOpsWin
hedgedReadOpsInCurThread
public final AtomicLong hedgedReadOpsInCurThread
DFSHedgedReadMetrics
public DFSHedgedReadMetrics()
incHedgedReadOps
public void incHedgedReadOps()
incHedgedReadOpsInCurThread
public void incHedgedReadOpsInCurThread()
incHedgedReadWins
public void incHedgedReadWins()
getHedgedReadOps
public long getHedgedReadOps()
getHedgedReadOpsInCurThread
public long getHedgedReadOpsInCurThread()
getHedgedReadWins
public long getHedgedReadWins()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.