org.apache.hadoop.hdfs
Class DFSInputStream.ReadStatistics
java.lang.Object
org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics
- Enclosing class:
- org.apache.hadoop.hdfs.DFSInputStream
public static class DFSInputStream.ReadStatistics
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DFSInputStream.ReadStatistics
public DFSInputStream.ReadStatistics()
DFSInputStream.ReadStatistics
public DFSInputStream.ReadStatistics(DFSInputStream.ReadStatistics rhs)
getTotalBytesRead
public long getTotalBytesRead()
- Returns:
- The total bytes read. This will always be at least as
high as the other numbers, since it includes all of them.
getTotalLocalBytesRead
public long getTotalLocalBytesRead()
- Returns:
- The total local bytes read. This will always be at least
as high as totalShortCircuitBytesRead, since all short-circuit
reads are also local.
getTotalShortCircuitBytesRead
public long getTotalShortCircuitBytesRead()
- Returns:
- The total short-circuit local bytes read.
getTotalZeroCopyBytesRead
public long getTotalZeroCopyBytesRead()
- Returns:
- The total number of zero-copy bytes read.
getRemoteBytesRead
public long getRemoteBytesRead()
- Returns:
- The total number of bytes read which were not local.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.