Package io.hawt.jmx
Class JmxTreeWatcher
java.lang.Object
io.hawt.jmx.JmxTreeWatcher
- All Implemented Interfaces:
JmxTreeWatcherMBean
- Direct Known Subclasses:
PluginRegistry
A simple MBean to watch the JMX tree, so it's easy for clients to know when they should refresh
their JMX trees (which typically isn't a cheap operation).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()longprotected NotificationFilterprotected NotificationListenerprotected ObjectNamevoidinit()
-
Constructor Details
-
JmxTreeWatcher
public JmxTreeWatcher()
-
-
Method Details
-
init
- Throws:
Exception
-
destroy
- Throws:
Exception
-
getVersion
-
getObjectName
- Throws:
Exception
-
getNotificationListener
-
getNotificationFilter
-
getCounter
public long getCounter()- Specified by:
getCounterin interfaceJmxTreeWatcherMBean
-