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:
getIntervalin interfaceorg.gvagroup.tomcat.SharedTask
-
isStopped
public boolean isStopped()- Specified by:
isStoppedin interfaceorg.gvagroup.tomcat.SharedTask
-
stop
public void stop()- Specified by:
stopin interfaceorg.gvagroup.tomcat.SharedTask
-
execute
public void execute()- Specified by:
executein interfaceorg.gvagroup.tomcat.SharedTask
-
toString
-