Java 类org.springframework.boot.actuate.metrics.reader.CompositeMetricReader 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:PublicMetricsAutoConfiguration.java   
@Bean
public MetricReaderPublicMetrics metricReaderPublicMetrics() {
    return new MetricReaderPublicMetrics(
            new CompositeMetricReader(this.metricReaders == null ? new MetricReader[0]
                    : this.metricReaders
                            .toArray(new MetricReader[this.metricReaders.size()])));
}
项目:spring-boot-concourse    文件:PublicMetricsAutoConfiguration.java   
@Bean
public MetricReaderPublicMetrics metricReaderPublicMetrics() {
    return new MetricReaderPublicMetrics(
            new CompositeMetricReader(this.metricReaders == null ? new MetricReader[0]
                    : this.metricReaders
                            .toArray(new MetricReader[this.metricReaders.size()])));
}
项目:contestparser    文件:PublicMetricsAutoConfiguration.java   
@Bean
public MetricReaderPublicMetrics metricReaderPublicMetrics() {
    return new MetricReaderPublicMetrics(new CompositeMetricReader(
            this.metricReaders.toArray(new MetricReader[0])));
}