Package com.microej.kf.util.monitoring
Class ResourceMonitoringServiceImpl.MonitoringTask
- java.lang.Object
-
- ej.bon.TimerTask
-
- com.microej.kf.util.monitoring.ResourceMonitoringServiceImpl.MonitoringTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- ResourceMonitoringServiceImpl
public static final class ResourceMonitoringServiceImpl.MonitoringTask extends ej.bon.TimerTaskThis class represents the monitoring task ran at regular interval.
-
-
Constructor Summary
Constructors Constructor Description MonitoringTask(MonitoringData monitoringData, boolean runGcBeforeCollecting)Instantiates the monitoring task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()
-
-
-
Constructor Detail
-
MonitoringTask
public MonitoringTask(MonitoringData monitoringData, boolean runGcBeforeCollecting)
Instantiates the monitoring task.- Parameters:
monitoringData- the data structure to regroup all the monitoring data.runGcBeforeCollecting- the boolean to call the GC before collecting new monitoring data.
-
-