public static final class ResourceMonitoringServiceImpl.MonitoringTask extends TimerTask
| Constructor and Description |
|---|
MonitoringTask(MonitoringData monitoringData,
boolean runGcBeforeCollecting)
Instantiates the monitoring task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The action to be performed by this timer task.
|
cancel, scheduledExecutionTime, uncaughtExceptionpublic MonitoringTask(MonitoringData monitoringData, boolean runGcBeforeCollecting)
monitoringData - the data structure to regroup all the monitoring data.runGcBeforeCollecting - the boolean to call the GC before collecting new monitoring data.