Class CustomObjectNameFactory

java.lang.Object
com.codahale.metrics.jmx.DefaultObjectNameFactory
org.opendaylight.serviceutils.metrics.internal.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 Details

    • CustomObjectNameFactory

      public CustomObjectNameFactory()
  • Method Details

    • 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