Class RRDsFeederTimerTask
- java.lang.Object
-
- java.util.TimerTask
-
- org.ametys.runtime.plugins.admin.jvmstatus.monitoring.RRDsFeederTimerTask
-
- All Implemented Interfaces:
Runnable,MonitoringConstants,Disposable,Initializable,Component,LogEnabled,Serviceable
public class RRDsFeederTimerTask extends TimerTask implements Component, LogEnabled, Serviceable, Initializable, Disposable, MonitoringConstants
TimerTaskfor creating and feeding RRDs files in order to produce graphs for monitoring:- JVM uptime
- JVM memory status
- JVM thread count
- Servlet Engine request count
- Servlet Engine session count
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.runtime.plugins.admin.jvmstatus.monitoring.MonitoringConstants
MonitoringConstants.Period
-
-
Field Summary
-
Fields inherited from interface org.ametys.runtime.plugins.admin.jvmstatus.monitoring.MonitoringConstants
FEEDING_PERIOD, RRD_EXT, RRD_STORAGE_DIRECTORY
-
-
Constructor Summary
Constructors Constructor Description RRDsFeederTimerTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()voidenableLogging(Logger logger)voidinitialize()voidrun()voidservice(ServiceManager manager)-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Constructor Detail
-
RRDsFeederTimerTask
public RRDsFeederTimerTask()
-
-
Method Detail
-
enableLogging
public void enableLogging(Logger logger)
- Specified by:
enableLoggingin interfaceLogEnabled
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
initialize
public void initialize() throws Exception
- Specified by:
initializein interfaceInitializable- Throws:
Exception
-
dispose
public void dispose()
- Specified by:
disposein interfaceDisposable
-
-