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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
enableLogging
(Logger logger) void
void
run()
void
service
(ServiceManager manager) Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
RRDsFeederTimerTask
public RRDsFeederTimerTask()
-
-
Method Details
-
enableLogging
- Specified by:
enableLogging
in interfaceLogEnabled
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
run
-
dispose
- Specified by:
dispose
in interfaceDisposable
-