add diskTotalKBytesRate to fileSystemModel
This commit is contained in:
parent
cc2fbb0bed
commit
1b392db925
|
@ -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;
|
||||
|
|
|
@ -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<FileSystemModel> 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue