public class MonitoringData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MonitoringData.ExecutionCounter
This class represents the execution counter
|
Constructor and Description |
---|
MonitoringData(boolean runGcBeforeCollecting)
Instantiates a new MonitoringData object
|
Modifier and Type | Method and Description |
---|---|
PackedMap<Module,MonitoringData.ExecutionCounter> |
getExecutionCounterPerModuleMap()
Gets the execution counter per module map
|
long |
getFreeMemory()
Gets the free memory value
|
long |
getMaxMemory()
Gets the max memory value
|
PackedMap<Module,Integer> |
getOriginalQuotaPerModuleMap()
Gets the original quota per module map
|
PackedMap<Module,Long> |
getRamUsagePerModuleMap()
Gets the ram usage per module map
|
long |
getTotalMemory()
Gets total memory value
|
public MonitoringData(boolean runGcBeforeCollecting)
runGcBeforeCollecting
- boolean read from kernel properties to run GC before collecting monitoring datapublic PackedMap<Module,MonitoringData.ExecutionCounter> getExecutionCounterPerModuleMap()
public long getFreeMemory()
public long getMaxMemory()
public PackedMap<Module,Integer> getOriginalQuotaPerModuleMap()
public PackedMap<Module,Long> getRamUsagePerModuleMap()
public long getTotalMemory()