public class DefaultOperatingSystemsDetails extends Object implements OperatingSystemsDetails
Constructor and Description |
---|
DefaultOperatingSystemsDetails(OperatingSystemDetails[] details) |
Modifier and Type | Method and Description |
---|---|
int |
getAvailableProcessors()
Returns the summation of all
OperatingSystemDetails.getAvailableProcessors() . |
long |
getTotalPhysicalMemorySizeInBytes()
Returns the summation of all
OperatingSystemDetails.getTotalPhysicalMemorySizeInBytes() . |
double |
getTotalPhysicalMemorySizeInGB()
Returns the summation of all
OperatingSystemDetails.getTotalPhysicalMemorySizeInGB() . |
double |
getTotalPhysicalMemorySizeInMB()
Returns the summation of all
OperatingSystemDetails.getTotalPhysicalMemorySizeInMB() . |
long |
getTotalSwapSpaceSizeInBytes()
Returns the summation of all
OperatingSystemDetails.getTotalSwapSpaceSizeInBytes() . |
double |
getTotalSwapSpaceSizeInGB()
Returns the summation of all
OperatingSystemDetails.getTotalSwapSpaceSizeInGB() . |
double |
getTotalSwapSpaceSizeInMB()
Returns the summation of all
OperatingSystemDetails.getTotalSwapSpaceSizeInMB() . |
public DefaultOperatingSystemsDetails(OperatingSystemDetails[] details)
public int getAvailableProcessors()
OperatingSystemsDetails
OperatingSystemDetails.getAvailableProcessors()
.getAvailableProcessors
in interface OperatingSystemsDetails
public long getTotalSwapSpaceSizeInBytes()
OperatingSystemsDetails
OperatingSystemDetails.getTotalSwapSpaceSizeInBytes()
.getTotalSwapSpaceSizeInBytes
in interface OperatingSystemsDetails
public double getTotalSwapSpaceSizeInMB()
OperatingSystemsDetails
OperatingSystemDetails.getTotalSwapSpaceSizeInMB()
.getTotalSwapSpaceSizeInMB
in interface OperatingSystemsDetails
public double getTotalSwapSpaceSizeInGB()
OperatingSystemsDetails
OperatingSystemDetails.getTotalSwapSpaceSizeInGB()
.getTotalSwapSpaceSizeInGB
in interface OperatingSystemsDetails
public long getTotalPhysicalMemorySizeInBytes()
OperatingSystemsDetails
OperatingSystemDetails.getTotalPhysicalMemorySizeInBytes()
.getTotalPhysicalMemorySizeInBytes
in interface OperatingSystemsDetails
public double getTotalPhysicalMemorySizeInMB()
OperatingSystemsDetails
OperatingSystemDetails.getTotalPhysicalMemorySizeInMB()
.getTotalPhysicalMemorySizeInMB
in interface OperatingSystemsDetails
public double getTotalPhysicalMemorySizeInGB()
OperatingSystemsDetails
OperatingSystemDetails.getTotalPhysicalMemorySizeInGB()
.getTotalPhysicalMemorySizeInGB
in interface OperatingSystemsDetails
Copyright © GigaSpaces.