当前位置: 首页>>代码示例>>Java>>正文


Java AggregateCounterRepository类代码示例

本文整理汇总了Java中org.springframework.analytics.metrics.AggregateCounterRepository的典型用法代码示例。如果您正苦于以下问题:Java AggregateCounterRepository类的具体用法?Java AggregateCounterRepository怎么用?Java AggregateCounterRepository使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


AggregateCounterRepository类属于org.springframework.analytics.metrics包,在下文中一共展示了AggregateCounterRepository类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: AggregateCounterController

import org.springframework.analytics.metrics.AggregateCounterRepository; //导入依赖的package包/类
public AggregateCounterController(AggregateCounterRepository repository) {
	this.repository = repository;
}
 
开发者ID:spring-projects,项目名称:spring-analytics,代码行数:4,代码来源:AggregateCounterController.java

示例2: aggregateCounterRepository

import org.springframework.analytics.metrics.AggregateCounterRepository; //导入依赖的package包/类
@Bean
public AggregateCounterRepository aggregateCounterRepository() {
	return new RedisAggregateCounterRepository(redisConnectionFactory, retryOperations());
}
 
开发者ID:spring-cloud,项目名称:spring-cloud-stream-app-starters,代码行数:5,代码来源:AggregateCounterSinkStoreConfiguration.java

示例3: aggregateCounterRepository

import org.springframework.analytics.metrics.AggregateCounterRepository; //导入依赖的package包/类
@Bean
@ConditionalOnClass(AggregateCounterRepository.class)
public AggregateCounterRepository aggregateCounterRepository() {
	return Mockito.mock(AggregateCounterRepository.class);
}
 
开发者ID:spring-cloud,项目名称:spring-cloud-stream-app-starters,代码行数:6,代码来源:AggregateCounterSinkTestConfiguration.java

示例4: aggregateCounterReader

import org.springframework.analytics.metrics.AggregateCounterRepository; //导入依赖的package包/类
@Bean
public AggregateCounterRepository aggregateCounterReader(RedisConnectionFactory redisConnectionFactory) {
	return new InMemoryAggregateCounterRepository();
}
 
开发者ID:spring-cloud,项目名称:spring-cloud-dataflow,代码行数:5,代码来源:AbstractShellIntegrationTest.java

示例5: setUpOnce

import org.springframework.analytics.metrics.AggregateCounterRepository; //导入依赖的package包/类
@BeforeClass
public static void setUpOnce() {
	repository = applicationContext.getBean(AggregateCounterRepository.class);
}
 
开发者ID:spring-cloud,项目名称:spring-cloud-dataflow,代码行数:5,代码来源:AggregateCounterCommandsTests.java

示例6: aggregateCounterReader

import org.springframework.analytics.metrics.AggregateCounterRepository; //导入依赖的package包/类
@Bean
@ConditionalOnMissingBean
public AggregateCounterRepository aggregateCounterReader(RedisConnectionFactory redisConnectionFactory) {
	return new RedisAggregateCounterRepository(redisConnectionFactory, new RetryTemplate());
}
 
开发者ID:spring-cloud,项目名称:spring-cloud-dataflow,代码行数:6,代码来源:AnalyticsConfiguration.java

示例7: aggregateCounterController

import org.springframework.analytics.metrics.AggregateCounterRepository; //导入依赖的package包/类
@Bean
@ConditionalOnBean(AggregateCounterRepository.class)
public AggregateCounterController aggregateCounterController(AggregateCounterRepository repository) {
	return new AggregateCounterController(repository);
}
 
开发者ID:spring-cloud,项目名称:spring-cloud-dataflow,代码行数:6,代码来源:DataFlowControllerAutoConfiguration.java


注:本文中的org.springframework.analytics.metrics.AggregateCounterRepository类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。