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(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext)IndexIndexingPlancreateIndexingPlan(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)IndexWorkspacecreateWorkspace(WorkExecutionIndexManagerContext indexManagerContext, Set<String> tenantIds)
-
-
-
Method Detail
-
createIndexingPlan
IndexIndexingPlan createIndexingPlan(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)
-
createIndexer
IndexIndexer createIndexer(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext)
-
createWorkspace
IndexWorkspace createWorkspace(WorkExecutionIndexManagerContext indexManagerContext, Set<String> tenantIds)
-
-