Change the AverageDiskBytesPerTransfer(Read,Write) to
DiskBytesPerSecond(Read,Write)
This commit is contained in:
parent
4f615ec810
commit
0ff05255d5
|
@ -18,9 +18,12 @@ public class LogicalDiskModelChild{
|
|||
private double averageDiskReadTimeInSecond;
|
||||
private double averageDiskWriteTimeInSecond;
|
||||
// 磁盘平均处理的字节
|
||||
private double averageDiskBytesPerTransfer;// ¿É¼ÆËãÍÌÍÂÂÊ
|
||||
private double averageDiskBytesPerRead;
|
||||
private double averageDiskBytesPerWrite;
|
||||
|
||||
|
||||
private double diskBytesPerSecond;
|
||||
|
||||
private double diskReadBytesPerSecond;
|
||||
private double diskkWriteBytesPerSecond;
|
||||
|
||||
// 空闲百分比
|
||||
private double idleTimePercent;
|
||||
|
@ -83,23 +86,24 @@ public class LogicalDiskModelChild{
|
|||
public void setAverageDiskWriteTimeInSecond(double averageDiskWriteTimeInSecond) {
|
||||
this.averageDiskWriteTimeInSecond = averageDiskWriteTimeInSecond;
|
||||
}
|
||||
public double getAverageDiskBytesPerTransfer() {
|
||||
return averageDiskBytesPerTransfer;
|
||||
|
||||
public double getDiskBytesPerSecond() {
|
||||
return diskBytesPerSecond;
|
||||
}
|
||||
public void setAverageDiskBytesPerTransfer(double averageDiskBytesPerTransfer) {
|
||||
this.averageDiskBytesPerTransfer = averageDiskBytesPerTransfer;
|
||||
public void setDiskBytesPerSecond(double diskBytesPerSecond) {
|
||||
this.diskBytesPerSecond = diskBytesPerSecond;
|
||||
}
|
||||
public double getAverageDiskBytesPerRead() {
|
||||
return averageDiskBytesPerRead;
|
||||
public double getDiskReadBytesPerSecond() {
|
||||
return diskReadBytesPerSecond;
|
||||
}
|
||||
public void setAverageDiskBytesPerRead(double averageDiskBytesPerRead) {
|
||||
this.averageDiskBytesPerRead = averageDiskBytesPerRead;
|
||||
public void setDiskReadBytesPerSecond(double diskReadBytesPerSecond) {
|
||||
this.diskReadBytesPerSecond = diskReadBytesPerSecond;
|
||||
}
|
||||
public double getAverageDiskBytesPerWrite() {
|
||||
return averageDiskBytesPerWrite;
|
||||
public double getDiskkWriteBytesPerSecond() {
|
||||
return diskkWriteBytesPerSecond;
|
||||
}
|
||||
public void setAverageDiskBytesPerWrite(double averageDiskBytesPerWrite) {
|
||||
this.averageDiskBytesPerWrite = averageDiskBytesPerWrite;
|
||||
public void setDiskkWriteBytesPerSecond(double diskkWriteBytesPerSecond) {
|
||||
this.diskkWriteBytesPerSecond = diskkWriteBytesPerSecond;
|
||||
}
|
||||
public double getIdleTimePercent() {
|
||||
return idleTimePercent;
|
||||
|
|
|
@ -28,9 +28,9 @@ public class LogicalDiskServiceWindows {
|
|||
|
||||
LogicalDiskModelChild logicalDiskModelChild=new LogicalDiskModelChild();
|
||||
logicalDiskModelChild.setInstance(elem);
|
||||
logicalDiskModelChild.setAverageDiskBytesPerRead(this.getLogicalDiskMonitor().getAverageDiskBytesPerRead(elem, idleTime));
|
||||
logicalDiskModelChild.setAverageDiskBytesPerTransfer(this.getLogicalDiskMonitor().getAverageDiskBytesPerTransfer(elem, idleTime));
|
||||
logicalDiskModelChild.setAverageDiskBytesPerWrite(this.getLogicalDiskMonitor().getAverageDiskBytesPerWrite(elem, idleTime));
|
||||
logicalDiskModelChild.setDiskBytesPerSecond(this.getLogicalDiskMonitor().getDiskBytesPerSecond(elem, idleTime));
|
||||
logicalDiskModelChild.setDiskkWriteBytesPerSecond(this.getLogicalDiskMonitor().getDiskWriteBytesPerSecond(elem, idleTime));
|
||||
logicalDiskModelChild.setDiskReadBytesPerSecond(this.getLogicalDiskMonitor().getDiskReadsPerSecond(elem, idleTime));
|
||||
logicalDiskModelChild.setAverageDiskQueueLength(this.getLogicalDiskMonitor().getAverageDiskQueueLength(elem, idleTime));
|
||||
logicalDiskModelChild.setAverageDiskReadTimeInSecond(this.getLogicalDiskMonitor().getAverageDiskReadQueueLength(elem, idleTime));
|
||||
|
||||
|
|
Loading…
Reference in New Issue