org.bootchart.common

Class FileOpenSample

public class FileOpenSample extends Sample

Disk I/O utilization sample.
Field Summary
intfileOpens
Number of file opens.
Constructor Summary
FileOpenSample(Date time, int fileOpens)
Creates a new sample.
Method Summary
static intgetMaxFileOpens(List ioSampleList)
Returns the maximum number of file opens seen in the sample list.
StringtoString()
Returns the string representation of the sample.

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

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

toString

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

Returns: string representation