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, uncaughtException
public MonitoringTask(MonitoringData monitoringData, boolean runGcBeforeCollecting)
monitoringData
- the data structure to regroup all the monitoring datarunGcBeforeCollecting
- the boolean to call the GC before collecting new monitoring data