org.bootchart.common
Class FileOpenSample

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

public class FileOpenSample
extends Sample

Disk I/O utilization sample.


Field Summary
 int fileOpens
          Number of file opens.
 
Fields inherited from class org.bootchart.common.Sample
time, TIME_FORMAT
 
Constructor Summary
FileOpenSample(Date time, int fileOpens)
          Creates a new sample.
 
Method Summary
static int getMaxFileOpens(List ioSampleList)
          Returns the maximum number of file opens seen in the sample list.
 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

fileOpens

public int fileOpens
Number of file opens.

Constructor Detail

FileOpenSample

public FileOpenSample(Date time,
                      int fileOpens)
Creates a new sample.

Parameters:
time - sample time
fileOpens - number of file open operations
Method Detail

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