org.apache.solr.metrics.reporters

Class JmxObjectNameFactory

    • Constructor Detail

      • JmxObjectNameFactory

        public JmxObjectNameFactory(String reporterName,
                                    String domain,
                                    String... additionalProperties)
        Create ObjectName factory.
        Parameters:
        reporterName - name of the reporter
        domain - JMX domain name
        additionalProperties - additional properties as key, value pairs.
    • Method Detail

      • createName

        public ObjectName createName(String type,
                                     String currentDomain,
                                     String name)
        Create a hierarchical name.
        Parameters:
        type - metric class, eg. "counters", may be null for non-metric MBeans
        currentDomain - JMX domain
        name - object name