Class JMXRefreshTask
java.lang.Object
org.deltava.util.jmx.JMXRefreshTask
- All Implemented Interfaces:
Serializable
,org.gvagroup.tomcat.SharedTask
A shared task to auotmatically refresh JMX statistics.
- Since:
- 10.2
- Version:
- 10.2
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JMXRefreshTask
Initializes the Task.- Parameters:
bean
- the JMXRefresh beaninterval
- the execution interval in milliseconds
-
-
Method Details
-
getInterval
public int getInterval()- Specified by:
getInterval
in interfaceorg.gvagroup.tomcat.SharedTask
-
isStopped
public boolean isStopped()- Specified by:
isStopped
in interfaceorg.gvagroup.tomcat.SharedTask
-
stop
public void stop()- Specified by:
stop
in interfaceorg.gvagroup.tomcat.SharedTask
-
execute
public void execute()- Specified by:
execute
in interfaceorg.gvagroup.tomcat.SharedTask
-
toString
-