Class CustomObjectNameFactory

  • All Implemented Interfaces:
    com.codahale.metrics.jmx.ObjectNameFactory

    public class CustomObjectNameFactory
    extends com.codahale.metrics.jmx.DefaultObjectNameFactory
    Custom transformer of String Metric ID to JMX ObjectName.
    Author:
    Michael Vorburger.ch
    • Constructor Detail

      • CustomObjectNameFactory

        public CustomObjectNameFactory()
    • Method Detail

      • createName

        public ObjectName createName​(String type,
                                     String domain,
                                     String name)
        Specified by:
        createName in interface com.codahale.metrics.jmx.ObjectNameFactory
        Overrides:
        createName in class com.codahale.metrics.jmx.DefaultObjectNameFactory