Class SystemResourceInfo
- java.lang.Object
-
- org.apache.pinot.common.restlet.resources.SystemResourceInfo
-
public class SystemResourceInfo extends Object
Class to represent system resources (CPU, Memory, etc) for an instance.
-
-
Constructor Summary
Constructors Constructor Description SystemResourceInfo()Constructor that initializes the values from reading system properties.SystemResourceInfo(Map<String,String> map)Constructor of class from map.
-
Method Summary
Modifier and Type Method Description longgetMaxHeapSizeMB()intgetNumCores()longgetTotalMemoryMB()Map<String,String>toMap()Returns a map containing names of fields along with their String values.
-