public abstract class JmxGet extends JmxObject
| Constructor and Description |
|---|
JmxGet(java.lang.String pObjectName,
java.lang.String safeName,
java.lang.String pRootMetric,
java.util.List<JmxMetric> pMetrics,
JmxAttributeFilter attributeFilter,
JmxMetricModifier pModifier)
Creates this JmxGet.
|
JmxGet(java.lang.String pObjectName,
java.lang.String rootMetricName,
java.lang.String safeName,
java.util.Map<JmxType,java.util.List<java.lang.String>> pAttributesToType,
Extension origin)
Creates this JmxGet.
|
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
cleanValue(java.lang.String value) |
java.util.Collection<java.lang.String> |
getAttributes() |
protected JmxAttributeFilter |
getJmxAttributeFilter() |
protected java.util.List<JmxMetric> |
getJmxMetrics() |
Extension |
getOrigin() |
java.lang.String |
getRootMetricName(javax.management.ObjectName actualName,
javax.management.MBeanServer server) |
abstract void |
recordStats(StatsEngine statsEngine,
java.util.Map<javax.management.ObjectName,java.util.Map<java.lang.String,java.lang.Float>> resultingMetricToValue,
javax.management.MBeanServer server) |
java.lang.String |
toString()
String representation of this JmxGet.
|
getObjectName, getObjectNameStringpublic JmxGet(java.lang.String pObjectName,
java.lang.String rootMetricName,
java.lang.String safeName,
java.util.Map<JmxType,java.util.List<java.lang.String>> pAttributesToType,
Extension origin)
throws javax.management.MalformedObjectNameException
pObjectName - The object name.safeName - The safeName for the metric.pAttributesToType - The attributes corresponding with the type.javax.management.MalformedObjectNameException - Thrown if a problem with the object name.public JmxGet(java.lang.String pObjectName,
java.lang.String safeName,
java.lang.String pRootMetric,
java.util.List<JmxMetric> pMetrics,
JmxAttributeFilter attributeFilter,
JmxMetricModifier pModifier)
throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameExceptionpublic abstract void recordStats(StatsEngine statsEngine, java.util.Map<javax.management.ObjectName,java.util.Map<java.lang.String,java.lang.Float>> resultingMetricToValue, javax.management.MBeanServer server)
public java.util.Collection<java.lang.String> getAttributes()
public java.lang.String getRootMetricName(javax.management.ObjectName actualName,
javax.management.MBeanServer server)
protected static java.lang.String cleanValue(java.lang.String value)
public java.lang.String toString()
public Extension getOrigin()
protected JmxAttributeFilter getJmxAttributeFilter()
protected java.util.List<JmxMetric> getJmxMetrics()