public class DefaultOperatingSystemsStatistics extends Object implements OperatingSystemsStatistics
Constructor and Description |
---|
DefaultOperatingSystemsStatistics(OperatingSystemStatistics[] stats,
OperatingSystemsStatistics previousStats,
OperatingSystemsDetails details,
int historySize) |
public DefaultOperatingSystemsStatistics(OperatingSystemStatistics[] stats, OperatingSystemsStatistics previousStats, OperatingSystemsDetails details, int historySize)
public boolean isNA()
OperatingSystemsStatistics
true
if the statistics are not available.isNA
in interface OperatingSystemsStatistics
public long getTimestamp()
OperatingSystemsStatistics
getTimestamp
in interface OperatingSystemsStatistics
public int getSize()
OperatingSystemsStatistics
OperatingSystemStatistics
.getSize
in interface OperatingSystemsStatistics
public OperatingSystemsStatistics getPrevious()
OperatingSystemsStatistics
OperatingSystemsStatistics
.getPrevious
in interface OperatingSystemsStatistics
public List<OperatingSystemsStatistics> getTimeline()
OperatingSystemsStatistics
getTimeline
in interface OperatingSystemsStatistics
public void setPreviousStats(OperatingSystemsStatistics previousStats)
public OperatingSystemsDetails getDetails()
OperatingSystemsStatistics
getDetails
in interface OperatingSystemsStatistics
public long getFreeSwapSpaceSizeInBytes()
getFreeSwapSpaceSizeInBytes
in interface OperatingSystemsStatistics
public double getFreeSwapSpaceSizeInMB()
getFreeSwapSpaceSizeInMB
in interface OperatingSystemsStatistics
public double getFreeSwapSpaceSizeInGB()
getFreeSwapSpaceSizeInGB
in interface OperatingSystemsStatistics
public long getFreePhysicalMemorySizeInBytes()
getFreePhysicalMemorySizeInBytes
in interface OperatingSystemsStatistics
public double getFreePhysicalMemorySizeInMB()
getFreePhysicalMemorySizeInMB
in interface OperatingSystemsStatistics
public double getFreePhysicalMemorySizeInGB()
getFreePhysicalMemorySizeInGB
in interface OperatingSystemsStatistics
public long getActualFreePhysicalMemorySizeInBytes()
getActualFreePhysicalMemorySizeInBytes
in interface OperatingSystemsStatistics
public double getActualFreePhysicalMemorySizeInMB()
getActualFreePhysicalMemorySizeInMB
in interface OperatingSystemsStatistics
public double getActualFreePhysicalMemorySizeInGB()
getActualFreePhysicalMemorySizeInGB
in interface OperatingSystemsStatistics
public double getCpuPerc()
OperatingSystemsStatistics
getCpuPerc
in interface OperatingSystemsStatistics
public String getCpuPercFormatted()
getCpuPercFormatted
in interface OperatingSystemsStatistics
public double getMinCpuPerc()
getMinCpuPerc
in interface OperatingSystemsStatistics
public String getMinCpuPercFormatted()
getMinCpuPercFormatted
in interface OperatingSystemsStatistics
public double getMaxCpuPerc()
getMaxCpuPerc
in interface OperatingSystemsStatistics
public String getMaxCpuPercFormatted()
getMaxCpuPercFormatted
in interface OperatingSystemsStatistics
public double getMemoryUsedPerc()
getMemoryUsedPerc
in interface OperatingSystemsStatistics
public double getMinMemoryUsedPerc()
getMinMemoryUsedPerc
in interface OperatingSystemsStatistics
public double getMaxMemoryUsedPerc()
getMaxMemoryUsedPerc
in interface OperatingSystemsStatistics
public String getMemoryUsedPercFormatted()
getMemoryUsedPercFormatted
in interface OperatingSystemsStatistics
public String getMinMemoryUsedPercFormatted()
getMinMemoryUsedPercFormatted
in interface OperatingSystemsStatistics
public String getMaxMemoryUsedPercFormatted()
getMaxMemoryUsedPercFormatted
in interface OperatingSystemsStatistics
public long getActualMemoryUsed()
getActualMemoryUsed
in interface OperatingSystemsStatistics
Copyright © GigaSpaces.