Interface WorkExecutionBackendContext
-
- All Known Implementing Classes:
IndexManagerBackendContext
public interface WorkExecutionBackendContextAn interface with knowledge of the backend internals, able to create components related to work execution.Note this interface exists mainly to more cleanly pass information from the backend to the various work execution components. If we just passed the backend to the various work execution components, we would have a cyclic dependency. If we passed all the components held by the backend to the various work execution components, we would end up with methods with many parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IndexIndexercreateIndexer(ElasticsearchSerialWorkOrchestrator orchestrator, WorkExecutionIndexManagerContext indexManagerContext, BackendSessionContext sessionContext)IndexIndexingPlancreateIndexingPlan(ElasticsearchSerialWorkOrchestrator orchestrator, WorkExecutionIndexManagerContext indexManagerContext, BackendSessionContext sessionContext, DocumentRefreshStrategy refreshStrategy)IndexWorkspacecreateWorkspace(WorkExecutionIndexManagerContext indexManagerContext, Set<String> tenantIds)
-
-
-
Method Detail
-
createIndexingPlan
IndexIndexingPlan createIndexingPlan(ElasticsearchSerialWorkOrchestrator orchestrator, WorkExecutionIndexManagerContext indexManagerContext, BackendSessionContext sessionContext, DocumentRefreshStrategy refreshStrategy)
-
createIndexer
IndexIndexer createIndexer(ElasticsearchSerialWorkOrchestrator orchestrator, WorkExecutionIndexManagerContext indexManagerContext, BackendSessionContext sessionContext)
-
createWorkspace
IndexWorkspace createWorkspace(WorkExecutionIndexManagerContext indexManagerContext, Set<String> tenantIds)
-
-