public interface AsyncMetricService
| Modifier and Type | Method and Description |
|---|---|
<T extends com.codahale.metrics.Metric> |
getClusterMetric(HiveMQMetric<T> metric)
Returns a map which contains an entry for every node in the cluster with the given HiveMQ metric.
|
<T extends com.codahale.metrics.Metric> |
getHiveMQMetric(HiveMQMetric<T> metric)
Returns a specific HiveMQ metric.
|
com.codahale.metrics.MetricRegistry |
getMetricRegistry()
Returns the metric registry of HiveMQ.
|
<T extends com.codahale.metrics.Metric> com.google.common.util.concurrent.ListenableFuture<T> getHiveMQMetric(HiveMQMetric<T> metric)
null.
For a list of all available metrics, refer to the HiveMQMetrics constant class.T - the metric typemetric - the metricListenableFuture with the metric (if available) or a null result.<T extends com.codahale.metrics.Metric> com.google.common.util.concurrent.ListenableFuture<Map<String,T>> getClusterMetric(HiveMQMetric<T> metric)
null.
For a list of all available metrics, refer to the HiveMQMetrics constant class.T - the metric typemetric - the metricListenableFuture with a map that contains node names and their sought-after metrics or null.com.codahale.metrics.MetricRegistry getMetricRegistry()
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.