public class JmxObjectNameFactory extends Object implements com.codahale.metrics.ObjectNameFactory
Constructor and Description |
---|
JmxObjectNameFactory(String reporterName,
String domain,
String... additionalProperties)
Create ObjectName factory.
|
Modifier and Type | Method and Description |
---|---|
ObjectName |
createName(String type,
String currentDomain,
String name)
Create a hierarchical name.
|
String |
getDomain()
Return current domain.
|
String |
getReporterName()
Return current reporterName.
|
public String getDomain()
public String getReporterName()
public ObjectName createName(String type, String currentDomain, String name)
createName
in interface com.codahale.metrics.ObjectNameFactory
type
- metric class, eg. "counters", may be null for non-metric MBeanscurrentDomain
- JMX domainname
- object nameCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.