Interface WorkExecutionBackendContext
- All Known Implementing Classes:
IndexManagerBackendContext
public interface WorkExecutionBackendContext
An 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
Modifier and TypeMethodDescriptioncreateIndexer(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext) createIndexingPlan(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) createWorkspace(WorkExecutionIndexManagerContext indexManagerContext, Set<String> tenantIds)
-
Method Details
-
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)
-