Class ResourceMonitoringServiceImpl

    • Constructor Detail

      • ResourceMonitoringServiceImpl

        public ResourceMonitoringServiceImpl​(Timer timer,
                                             long intervalMillis,
                                             boolean runGcBeforeCollecting)
        Instantiates the resource monitoring service.
        Parameters:
        timer - the timer.
        intervalMillis - the timer interval read from the kernel properties.
        runGcBeforeCollecting - the boolean read from kernel properties to run GC before collecting monitoring data.