org.bootchart.common

Class DiskTPutSample

public class DiskTPutSample extends Sample

Disk I/O throughput sample.
Field Summary
doubleread
Read throughput (KB/s).
doublewrite
Write throughput (KB/s).
Constructor Summary
DiskTPutSample(Date time, double read, double write)
Creates a new sample.
Method Summary
static doublegetMaxDiskTPut(List ioSampleList)
Returns the maximum throughput seen in the sample list.
StringtoString()
Returns the string representation of the sample.

Field Detail

read

public double read
Read throughput (KB/s).

write

public double write
Write throughput (KB/s).

Constructor Detail

DiskTPutSample

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

Parameters: time sample time read read throughput write write throughput

Method Detail

getMaxDiskTPut

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

Parameters: ioSampleList iostat sample list

Returns: maximum throughput

toString

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

Returns: string representation