當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。