diff --git a/src/main/java/org/bench4q/share/models/monitor/FileSystemModel.java b/src/main/java/org/bench4q/share/models/monitor/FileSystemModel.java index 97cfb51a..a1cf9263 100644 --- a/src/main/java/org/bench4q/share/models/monitor/FileSystemModel.java +++ b/src/main/java/org/bench4q/share/models/monitor/FileSystemModel.java @@ -15,7 +15,15 @@ public class FileSystemModel extends SampleModel{ private double usedGB; private double freeGB; private double usedPercent; + private double diskTotalKBytesRate; + @XmlElement + public double getDiskTotalKBytesRate() { + return diskTotalKBytesRate; + } + public void setDiskTotalKBytesRate(double diskTotalKBytesRate) { + this.diskTotalKBytesRate = diskTotalKBytesRate; + } @XmlElement public String getFileDir() { return fileDir; diff --git a/src/main/java/org/bench4q/share/models/monitor/PhysicalDiskModel.java b/src/main/java/org/bench4q/share/models/monitor/PhysicalDiskModel.java index 281109b3..6fcbd803 100644 --- a/src/main/java/org/bench4q/share/models/monitor/PhysicalDiskModel.java +++ b/src/main/java/org/bench4q/share/models/monitor/PhysicalDiskModel.java @@ -9,7 +9,7 @@ import org.bench4q.share.models.master.statistics.SampleModel; import java.util.List; @XmlRootElement(name = "PhysicalDisk") -public class PhysicalDiskModel extends SampleModel{ +public class PhysicalDiskModel extends SampleModel { private Double diskReadKBytesRate; private Double diskWriteKBytesRate; private double curDiskQueLength; @@ -18,6 +18,7 @@ public class PhysicalDiskModel extends SampleModel{ private double freeGB; private double usedPercent; private List fieFileSystemModels; + private double diskTotalKBytesRate; // private Logger logger = Logger.getLogger(PhysicalDiskModel.class); @@ -98,4 +99,13 @@ public class PhysicalDiskModel extends SampleModel{ this.usedPercent = usedPercent; } + @XmlElement + public double getDiskTotalKBytesRate() { + return diskTotalKBytesRate; + } + + public void setDiskTotalKBytesRate(double diskTotalKBytesRate) { + this.diskTotalKBytesRate = diskTotalKBytesRate; + } + }