Package org.infinispan.health.impl
Class HostInfoImpl
- java.lang.Object
-
- org.infinispan.health.impl.HostInfoImpl
-
-
Constructor Summary
Constructors Constructor Description HostInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFreeMemoryInKb()
Gets free memory in KB.int
getNumberOfCpus()
Returns the number of CPUs installed in the host.long
getTotalMemoryKb()
Gets total memory in KB.
-
-
-
Method Detail
-
getNumberOfCpus
public int getNumberOfCpus()
Description copied from interface:HostInfo
Returns the number of CPUs installed in the host.- Specified by:
getNumberOfCpus
in interfaceHostInfo
-
getTotalMemoryKb
public long getTotalMemoryKb()
Description copied from interface:HostInfo
Gets total memory in KB.- Specified by:
getTotalMemoryKb
in interfaceHostInfo
-
getFreeMemoryInKb
public long getFreeMemoryInKb()
Description copied from interface:HostInfo
Gets free memory in KB.- Specified by:
getFreeMemoryInKb
in interfaceHostInfo
-
-