public class SigarDiskIOMonitor extends Object implements DiskIOMonitor
DiskIOMonitor
.Modifier and Type | Field and Description |
---|---|
private org.hyperic.sigar.SigarProxy |
_proxy |
private long |
_readBytes |
private long |
_reads |
private org.hyperic.sigar.Sigar |
_sigar |
private long |
_writeBytes |
private long |
_writes |
READ_BYTES, READS, WRITE_BYTES, WRITES
Constructor and Description |
---|
SigarDiskIOMonitor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getReadBytes()
Get the byte read count.
|
double |
getReads()
Get the read operation count.
|
double |
getWriteBytes()
Get the byte written count.
|
double |
getWrites()
Get the write operation count.
|
void |
refresh()
Internally refresh the data.
|
Map<String,Double> |
toMap()
Return all the data as a Map.
|
private final org.hyperic.sigar.Sigar _sigar
private final org.hyperic.sigar.SigarProxy _proxy
private long _reads
private long _readBytes
private long _writes
private long _writeBytes
public SigarDiskIOMonitor()
public void refresh()
DiskIOMonitor
refresh
in interface DiskIOMonitor
public double getReads()
DiskIOMonitor
getReads
in interface DiskIOMonitor
public double getReadBytes()
DiskIOMonitor
getReadBytes
in interface DiskIOMonitor
public double getWrites()
DiskIOMonitor
getWrites
in interface DiskIOMonitor
public double getWriteBytes()
DiskIOMonitor
getWriteBytes
in interface DiskIOMonitor
public Map<String,Double> toMap()
DiskIOMonitor
toMap
in interface DiskIOMonitor