voldemort.server.protocol.hadoop
Class RestHadoopFetcher.CopyStats

java.lang.Object
  extended by voldemort.server.protocol.hadoop.RestHadoopFetcher.CopyStats
Enclosing class:
RestHadoopFetcher

public static class RestHadoopFetcher.CopyStats
extends java.lang.Object


Constructor Summary
RestHadoopFetcher.CopyStats(java.lang.String fileName, long totalBytes)
           
 
Method Summary
 double getBytesPerSecond()
           
 long getBytesSinceLastReport()
           
 java.lang.String getFilename()
           
 double getPercentCopied()
           
 long getTotalBytesCopied()
           
 void recordBytes(long bytes)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestHadoopFetcher.CopyStats

public RestHadoopFetcher.CopyStats(java.lang.String fileName,
                                   long totalBytes)
Method Detail

recordBytes

public void recordBytes(long bytes)

reset

public void reset()

getBytesSinceLastReport

public long getBytesSinceLastReport()

getPercentCopied

public double getPercentCopied()

getTotalBytesCopied

public long getTotalBytesCopied()

getBytesPerSecond

public double getBytesPerSecond()

getFilename

public java.lang.String getFilename()


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu