类 SpringIntegrationMetricReader
- java.lang.Object
- org.springframework.boot.actuate.metrics.integration.SpringIntegrationMetricReader
- 所有已实现的接口:
MetricReader
@UsesJava7 public class SpringIntegrationMetricReader extends Object implements MetricReader
AMetricReader
for Spring Integration metrics (as provided byIntegrationManagementConfigurer
).- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 SpringIntegrationMetricReader(org.springframework.integration.support.management.IntegrationManagementConfigurer configurer)
构造器详细资料
SpringIntegrationMetricReader
public SpringIntegrationMetricReader(org.springframework.integration.support.management.IntegrationManagementConfigurer configurer)
方法详细资料
findOne
public Metric<?> findOne(String metricName)
从接口复制的说明:MetricReader
Find an instance of the metric with the given name (usually the latest recorded value).- 指定者:
findOne
在接口中MetricReader
- 参数:
metricName
- the name of the metric to find- 返回:
- a metric value or null if there are none with that name
findAll
public Iterable<Metric<?>> findAll()
从接口复制的说明:MetricReader
Find all the metrics known to this reader.- 指定者:
findAll
在接口中MetricReader
- 返回:
- all instances of metrics known to this reader
count
public long count()
从接口复制的说明:MetricReader
The number of metrics known to this reader.- 指定者:
count
在接口中MetricReader
- 返回:
- the number of metrics