@UsesJava7 public class SpringIntegrationMetricReader extends Object implements MetricReader
MetricReader for Spring Integration metrics (as provided by
IntegrationManagementConfigurer).| Constructor and Description |
|---|
SpringIntegrationMetricReader(org.springframework.integration.support.management.IntegrationManagementConfigurer configurer) |
| Modifier and Type | Method and Description |
|---|---|
long |
count()
The number of metrics known to this reader.
|
Iterable<Metric<?>> |
findAll()
Find all the metrics known to this reader.
|
Metric<?> |
findOne(String metricName)
Find an instance of the metric with the given name (usually the latest recorded
value).
|
public SpringIntegrationMetricReader(org.springframework.integration.support.management.IntegrationManagementConfigurer configurer)
public Metric<?> findOne(String metricName)
MetricReaderfindOne in interface MetricReadermetricName - the name of the metric to findpublic Iterable<Metric<?>> findAll()
MetricReaderfindAll in interface MetricReaderpublic long count()
MetricReadercount in interface MetricReaderCopyright © 2018 Pivotal Software, Inc.. All rights reserved.