Java 类org.springframework.boot.actuate.metrics.writer.DefaultCounterService 实例源码

项目:spring-analytics    文件:CounterControllerTests.java   
@Bean
public CounterService counterService(MetricRepository metricRepository) {
    return new DefaultCounterService(metricRepository);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:MetricRepositoryAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(CounterService.class)
public DefaultCounterService counterService() {
    return new DefaultCounterService(this.writer);
}
项目:spring-boot-concourse    文件:MetricRepositoryAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(CounterService.class)
public DefaultCounterService counterService() {
    return new DefaultCounterService(this.writer);
}
项目:contestparser    文件:MetricRepositoryAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(CounterService.class)
public DefaultCounterService counterService() {
    return new DefaultCounterService(this.writer);
}