Class FileOpenSample

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

public class FileOpenSample extends Sample
Disk I/O utilization sample.
  • Field Details

    • fileOpens

      public int fileOpens
      Number of file opens.
  • Constructor Details

    • FileOpenSample

      public FileOpenSample(Date time, int fileOpens)
      Creates a new sample.
      Parameters:
      time - sample time
      fileOpens - number of file open operations
  • Method Details

    • toString

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

      public static int getMaxFileOpens(List ioSampleList)
      Returns the maximum number of file opens seen in the sample list.
      Parameters:
      ioSampleList - iostat sample list
      Returns:
      maximum number of file opens