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
TimerTask
for 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 void
dispose()
void
enableLogging(Logger logger)
void
initialize()
void
run()
void
service(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:
enableLogging
in interfaceLogEnabled
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
initialize
public void initialize() throws Exception
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceDisposable
-
-