cz.cuni.amis.utils
Class Throughput

Package class diagram package Throughput
java.lang.Object
  extended by cz.cuni.amis.utils.Throughput

public class Throughput
extends Object


Constructor Summary
Throughput(String units)
           
 
Method Summary
 void add(long data)
           
 void check()
           
 double getCheckThroughput()
           
 double getCurrentThroughput()
          Return data / secs.
 String getName()
           
 double getThroughput()
           
 long getTotalData()
           
 long getTotalRecords()
           
 boolean isReporting()
           
 void setName(String name)
           
 void setReporting(boolean reporting)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Throughput

public Throughput(String units)
Method Detail

isReporting

public boolean isReporting()

setReporting

public void setReporting(boolean reporting)

getThroughput

public double getThroughput()

getName

public String getName()

setName

public void setName(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()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.