org.bootchart.common
Class DiskTPutSample

java.lang.Object
  extended byorg.bootchart.common.Sample
      extended byorg.bootchart.common.DiskTPutSample

public class DiskTPutSample
extends Sample

Disk I/O throughput sample.


Field Summary
 double read
          Read throughput (KB/s).
 double write
          Write throughput (KB/s).
 
Fields inherited from class org.bootchart.common.Sample
time, TIME_FORMAT
 
Constructor Summary
DiskTPutSample(java.util.Date time, double read, double write)
          Creates a new sample.
 
Method Summary
static double getMaxDiskTPut(java.util.List ioSampleList)
          Returns the maximum throughput seen in the sample list.
 java.lang.String toString()
          Returns the string representation of the sample.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

read

public double read
Read throughput (KB/s).


write

public double write
Write throughput (KB/s).

Constructor Detail

DiskTPutSample

public DiskTPutSample(java.util.Date time,
                      double read,
                      double write)
Creates a new sample.

Parameters:
time - sample time
read - read throughput
write - write throughput
Method Detail

toString

public java.lang.String toString()
Returns the string representation of the sample.


getMaxDiskTPut

public static double getMaxDiskTPut(java.util.List ioSampleList)
Returns the maximum throughput seen in the sample list.

Parameters:
ioSampleList - iostat sample list
Returns:
maximum throughput