public interface MetricsMBean extends DynamicMBean
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all the keys and values from this MetricsMBean.
|
Object |
get(String name) |
boolean |
hasKey(String name)
Check if we're tracking a certain named key/metric
|
void |
put(String name,
Object value)
Add a key/metric and its value to track
|
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributesboolean hasKey(String name)
void put(String name, Object value)
name - Name of the key/metricvalue - value associated with the keyObject get(String name) throws JMException
name - JMExceptionvoid clear()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.