Package org.apache.hadoop.hdfs.util
Class StripedBlockUtil.BlockReadStats
java.lang.Object
org.apache.hadoop.hdfs.util.StripedBlockUtil.BlockReadStats
- Enclosing class:
- StripedBlockUtil
Struct holding the read statistics. This is used when reads are done
asynchronously, to allow the async threads return the read stats and let
the main reading thread to update the stats. This is important for the
ThreadLocal stats for the main reading thread to be correct.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BlockReadStats
public BlockReadStats(int numBytesRead, boolean shortCircuit, int distance)
-
-
Method Details