Package com.microej.kf.util.monitoring
Class MonitoringData
- java.lang.Object
-
- com.microej.kf.util.monitoring.MonitoringData
-
public class MonitoringData extends java.lang.ObjectThis class represents the data structure used to handle data for resource monitoring.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMonitoringData.ExecutionCounterThis class represents the execution counter
-
Constructor Summary
Constructors Constructor Description MonitoringData(boolean runGcBeforeCollecting)Instantiates a new MonitoringData object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ej.basictool.map.PackedMap<ej.kf.Module,MonitoringData.ExecutionCounter>getExecutionCounterPerModuleMap()Gets the execution counter per module maplonggetFreeMemory()Gets the free memory valuelonggetMaxMemory()Gets the max memory valueej.basictool.map.PackedMap<ej.kf.Module,java.lang.Integer>getOriginalQuotaPerModuleMap()Gets the original quota per module mapej.basictool.map.PackedMap<ej.kf.Module,java.lang.Long>getRamUsagePerModuleMap()Gets the ram usage per module maplonggetTotalMemory()Gets total memory value
-
-
-
Method Detail
-
getExecutionCounterPerModuleMap
public ej.basictool.map.PackedMap<ej.kf.Module,MonitoringData.ExecutionCounter> getExecutionCounterPerModuleMap()
Gets the execution counter per module map- Returns:
- the execution counter map
-
getRamUsagePerModuleMap
public ej.basictool.map.PackedMap<ej.kf.Module,java.lang.Long> getRamUsagePerModuleMap()
Gets the ram usage per module map- Returns:
- the ram usage map
-
getOriginalQuotaPerModuleMap
public ej.basictool.map.PackedMap<ej.kf.Module,java.lang.Integer> getOriginalQuotaPerModuleMap()
Gets the original quota per module map- Returns:
- the original quota map
-
getTotalMemory
public long getTotalMemory()
Gets total memory value- Returns:
- the total memory value
-
getMaxMemory
public long getMaxMemory()
Gets the max memory value- Returns:
- the max memory value
-
getFreeMemory
public long getFreeMemory()
Gets the free memory value- Returns:
- the free memory value
-
-