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


Java SetupIndexService类代码示例

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


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

示例1: setupIndexMasterActor

import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
@Bean(autowire = Autowire.BY_NAME, name = "setupIndexMasterActor")
// @Scope("prototype")
@DependsOn(value = { "actorSystem" })
public ActorRef setupIndexMasterActor() {
	final ActorSystem system = applicationContext
			.getBean(ActorSystem.class);
	final SetupIndexService setupIndexService = applicationContext
			.getBean(SetupIndexService.class);
	final SampleDataGeneratorService sampleDataGeneratorService = applicationContext
			.getBean(SampleDataGeneratorService.class);
	final IndexProductDataService indexProductData = applicationContext
			.getBean(IndexProductDataService.class);
	return system.actorOf(
			Props.create(SetupIndexMasterActor.class, setupIndexService,
					sampleDataGeneratorService, indexProductData)
					.withDispatcher("setupIndexMasterActorDispatch"),
			"setupIndexMasterActor");
}
 
开发者ID:jaibeermalik,项目名称:searchanalytics-bigdata,代码行数:19,代码来源:AppConfiguration.java

示例2: SetupIndexWorkerActor

import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexWorkerActor(final SetupIndexService setupIndexService, final SampleDataGeneratorService sampleDataGeneratorService,
        final IndexProductDataService indexProductDataService)
{
    this.setupIndexService = setupIndexService;
    workerRouter = getContext().actorOf(
            Props.create(SetupDocumentTypeWorkerActor.class, sampleDataGeneratorService, indexProductDataService)
                    .withDispatcher("setupDocumentTypeWorkerActorDispatcher").withRouter(new FromConfig()),
            "setupDocumentTypeWorkerActor");
}
 
开发者ID:jaibeermalik,项目名称:elasticsearch-akka,代码行数:10,代码来源:SetupIndexWorkerActor.java

示例3: SetupIndexMasterActor

import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexMasterActor(final SetupIndexService setupIndexService, final SampleDataGeneratorService sampleDataGeneratorService,
        final IndexProductDataService indexProductDataService)
{
    workerRouter = getContext().actorOf(
            Props.create(SetupIndexWorkerActor.class, setupIndexService, sampleDataGeneratorService, indexProductDataService)
                    .withDispatcher("setupIndexWorkerActorDispatcher").withRouter(new FromConfig()), "setupIndexWorkerActor");
}
 
开发者ID:jaibeermalik,项目名称:elasticsearch-akka,代码行数:8,代码来源:SetupIndexMasterActor.java

示例4: setupIndexMasterActor

import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
@Bean(autowire = Autowire.BY_NAME, name = "setupIndexMasterActor")
// @Scope("prototype")
@DependsOn(value = { "actorSystem" })
public ActorRef setupIndexMasterActor()
{
    final ActorSystem system = applicationContext.getBean(ActorSystem.class);
    final SetupIndexService setupIndexService = applicationContext.getBean(SetupIndexService.class);
    final SampleDataGeneratorService sampleDataGeneratorService = applicationContext.getBean(SampleDataGeneratorService.class);
    final IndexProductDataService indexProductData = applicationContext.getBean(IndexProductDataService.class);
    return system.actorOf(Props.create(SetupIndexMasterActor.class, setupIndexService, sampleDataGeneratorService, indexProductData)
            .withDispatcher("setupIndexMasterActorDispatch"), "setupIndexMasterActor");
}
 
开发者ID:jaibeermalik,项目名称:elasticsearch-akka,代码行数:13,代码来源:AppConfiguration.java

示例5: SetupIndexWorkerActor

import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexWorkerActor(final SetupIndexService setupIndexService,
		final SampleDataGeneratorService sampleDataGeneratorService,
		final IndexProductDataService indexProductDataService) {
	this.setupIndexService = setupIndexService;
	workerRouter = getContext().actorOf(
			Props.create(SetupDocumentTypeWorkerActor.class,
					sampleDataGeneratorService, indexProductDataService)
					.withDispatcher(
							"setupDocumentTypeWorkerActorDispatcher")
					.withRouter(new FromConfig()),
			"setupDocumentTypeWorkerActor");
}
 
开发者ID:jaibeermalik,项目名称:searchanalytics-bigdata,代码行数:13,代码来源:SetupIndexWorkerActor.java

示例6: SetupIndexMasterActor

import org.jai.search.setup.SetupIndexService; //导入依赖的package包/类
public SetupIndexMasterActor(final SetupIndexService setupIndexService,
		final SampleDataGeneratorService sampleDataGeneratorService,
		final IndexProductDataService indexProductDataService) {
	workerRouter = getContext().actorOf(
			Props.create(SetupIndexWorkerActor.class, setupIndexService,
					sampleDataGeneratorService, indexProductDataService)
					.withDispatcher("setupIndexWorkerActorDispatcher")
					.withRouter(new FromConfig()), "setupIndexWorkerActor");
}
 
开发者ID:jaibeermalik,项目名称:searchanalytics-bigdata,代码行数:10,代码来源:SetupIndexMasterActor.java


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