cz.cuni.amis.utils
Class Throughput
java.lang.Object
cz.cuni.amis.utils.Throughput
public class Throughput
- extends java.lang.Object
Constructor Summary |
Throughput(java.lang.String units)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Throughput
public Throughput(java.lang.String units)
isReporting
public boolean isReporting()
setReporting
public void setReporting(boolean reporting)
getThroughput
public double getThroughput()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
add
public void add(long data)
getTotalData
public long getTotalData()
getTotalRecords
public long getTotalRecords()
getCurrentThroughput
public double getCurrentThroughput()
- Return data / secs.
- Returns:
getCheckThroughput
public double getCheckThroughput()
check
public void check()