org.springframework.boot.actuate.metrics.CounterService源码实例Demo

类org.springframework.boot.actuate.metrics.CounterService源码实例Demo

下面列出了org.springframework.boot.actuate.metrics.CounterService 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

@Bean
@ConditionalOnMissingBean({ LookoutSpringBootMetricsImpl.class, CounterService.class,
        GaugeService.class })
public LookoutSpringBootMetricsImpl lookoutMetricServices(Registry lookoutMetricRegistry) {
    logger.info("Spring Boot Metrics binding to SOFALookout Implementation!");
    return new LookoutSpringBootMetricsImpl(lookoutMetricRegistry);
}
 
源代码2 项目: jigsaw-payment   文件: TimerAspect.java
@Autowired
public TimerAspect(GaugeService gaugeService,
		CounterService counterService, ObjectMapper mapper) {
	this.counterService = counterService;
	this.gaugeService = gaugeService;
	this.mapper = mapper;
}
 
源代码3 项目: fullstop   文件: ViolationJpaPersister.java
public ViolationJpaPersister(final EventBus eventBus, final ViolationRepository violationRepository,
                             final ViolationTypeRepository violationTypeRepository,
                             final CounterService counterService, final WhitelistRules whitelistRules,
                             final ApplicationVersionService applicationVersionService) {
    super(eventBus);
    this.violationRepository = violationRepository;
    this.violationTypeRepository = violationTypeRepository;
    this.counterService = counterService;
    this.whitelistRules = whitelistRules;
    this.applicationVersionService = applicationVersionService;
}
 
@Autowired
GreetingController(TPSHealth health,CounterService counterService, GaugeService gaugeService){
	this.health = health;
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}
 
源代码5 项目: jigsaw-payment   文件: TimerAspect.java
public ExecutionTimer(GaugeService gaugeService,
		CounterService counterService, String name, Logger logger) {
	this.name = name;
	this.logger = logger;
	this.histogram = new Histogram();
}
 
源代码6 项目: jigsaw-payment   文件: TimerAutoConfiguration.java
@Bean
public TimerAspect timerAspect(GaugeService gaugeService,
		CounterService counterService, ObjectMapper mapper) {
	return new TimerAspect(gaugeService, counterService, mapper);
}
 
源代码7 项目: jigsaw-payment   文件: TestConfig.java
@Bean
@Primary
public CounterService counterService() {
	return Mockito.mock(CounterService.class);
}
 
@Autowired
public PersonCounterService(CounterService counterService) {
    this.counterService = counterService;
}
 
@Autowired
public PersonCounterService(CounterService counterService) {
    this.counterService = counterService;
}
 
源代码10 项目: elastic-rabbitmq   文件: ESMessageListener.java
public ESMessageListener(ConfigurableApplicationContext context) {
    this.counterService = context.getBean("counterService", CounterService.class);
    this.gaugeService = context.getBean("gaugeService", GaugeService.class);
    this.context = context;
    //handlerManager.initHandler(context);
}
 
@Autowired
GreetingController(TPSHealth health,CounterService counterService, GaugeService gaugeService){
	this.health = health;
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}
 
源代码12 项目: Spring-Microservices   文件: Application.java
@Autowired
GreetingController(TPSHealth health,CounterService counterService, GaugeService gaugeService){
	this.health = health;
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}
 
源代码13 项目: building-microservices   文件: ExampleService.java
public ExampleService(CounterService counterService, GaugeService gaugeService) {
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}
 
源代码14 项目: spring-boot-samples   文件: GithubClient.java
public GithubClient(CounterService counterService, RestTemplateBuilder restTemplateBuilder,
		CfpProperties properties) {
	this.counterService = counterService;
	this.restTemplate = restTemplateBuilder.additionalCustomizers(rt ->
			rt.getInterceptors().add(new GithubAppTokenInterceptor(properties.getGithub().getToken()))).build();
}
 
源代码15 项目: fullstop   文件: EventBusViolationSink.java
public EventBusViolationSink(final EventBus eventBus, final CounterService counterService) {
    this.eventBus = eventBus;
    this.counterService = counterService;
}
 
源代码16 项目: tutorials   文件: LoginServiceImpl.java
public LoginServiceImpl(CounterService counterService) {
    this.counterService = counterService;
}
 
源代码评论
动弹
沙发等你来抢
 类所在包
 类方法
 同包方法