public interface MetricAgent
Modifier and Type | Method and Description |
---|---|
JabbixMetric<?> |
getMetric(java.lang.String key)
Returns a
JabbixMetric object containing the current value of a
metric with the specified key. |
JabbixMetric<?> getMetric(java.lang.String key) throws JabbixException, NoSuchMetricException
JabbixMetric
object containing the current value of a
metric with the specified key.key
- metric key, the name of a metricJabbixMetric
object containing the current value of a
metricNoSuchMetricException
- if no metric with the specified key is foundJabbixException
- in any other error case