Class DiskTPutSample

java.lang.Object
org.bootchart.common.Sample
org.bootchart.common.DiskTPutSample

public class DiskTPutSample extends Sample
Disk I/O throughput sample.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    Read throughput (KB/s).
    double
    Write throughput (KB/s).

    Fields inherited from class org.bootchart.common.Sample

    time, TIME_FORMAT
  • Constructor Summary

    Constructors
    Constructor
    Description
    DiskTPutSample(Date time, double read, double write)
    Creates a new sample.
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    getMaxDiskTPut(List ioSampleList)
    Returns the maximum throughput seen in the sample list.
    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 Details

    • read

      public double read
      Read throughput (KB/s).
    • write

      public double write
      Write throughput (KB/s).
  • Constructor Details

    • DiskTPutSample

      public DiskTPutSample(Date time, double read, double write)
      Creates a new sample.
      Parameters:
      time - sample time
      read - read throughput
      write - write throughput
  • Method Details

    • toString

      public String toString()
      Returns the string representation of the sample.
      Overrides:
      toString in class Object
      Returns:
      string representation
    • getMaxDiskTPut

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