|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.fs.FileSystem.Statistics
public static final class FileSystem.Statistics
Constructor Summary | |
---|---|
FileSystem.Statistics()
|
Method Summary | |
---|---|
long |
getBytesRead()
Get the total number of bytes read |
long |
getBytesWritten()
Get the total number of bytes written |
void |
incrementBytesRead(long newBytes)
Increment the bytes read in the statistics |
void |
incrementBytesWritten(long newBytes)
Increment the bytes written in the statistics |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileSystem.Statistics()
Method Detail |
---|
public void incrementBytesRead(long newBytes)
newBytes
- the additional bytes readpublic void incrementBytesWritten(long newBytes)
newBytes
- the additional bytes writtenpublic long getBytesRead()
public long getBytesWritten()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |