Class SimpleMetricsPlugin
java.lang.Object
org.apache.activemq.artemis.core.server.metrics.plugins.SimpleMetricsPlugin
- All Implemented Interfaces:
Serializable,ActiveMQMetricsPlugin
A very simple metrics plugin used for testing
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.MeterRegistryvoidregistered(ActiveMQServer server) The plugin has been registered with the serverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.server.metrics.ActiveMQMetricsPlugin
setInit
-
Constructor Details
-
SimpleMetricsPlugin
public SimpleMetricsPlugin()
-
-
Method Details
-
init
- Specified by:
initin interfaceActiveMQMetricsPlugin
-
getRegistry
public io.micrometer.core.instrument.MeterRegistry getRegistry()- Specified by:
getRegistryin interfaceActiveMQMetricsPlugin
-
registered
Description copied from interface:ActiveMQMetricsPluginThe plugin has been registered with the server- Specified by:
registeredin interfaceActiveMQMetricsPlugin- Parameters:
server- The ActiveMQServer the plugin has been registered to
-
getOptions
-
getServer
-