org.bootchart.common
Class FileOpenSample
java.lang.Object
org.bootchart.common.Sample
org.bootchart.common.FileOpenSample
public class FileOpenSample
- extends Sample
Disk I/O utilization sample.
Field Summary |
int |
fileOpens
Number of file opens. |
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. |
fileOpens
public int fileOpens
- Number of file opens.
FileOpenSample
public FileOpenSample(Date time,
int fileOpens)
- Creates a new sample.
- Parameters:
time
- sample timefileOpens
- number of file open operations
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