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, setAttributes
boolean 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
- JMException
void clear()
Copyright © 2022 The Apache Software Foundation. All rights reserved.