Interface WorkExecutionIndexManagerContext
-
public interface WorkExecutionIndexManagerContextAn interface with knowledge of the index manager internals, able to retrieve components related to work execution.Note this interface exists mainly to more cleanly pass information from the index manager to the various work execution components. If we just passed the index manager to the various work execution components, we would have a cyclic dependency. If we passed all the components held by the index manager 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 List<LuceneParallelWorkOrchestrator>allManagementOrchestrators()LuceneSerialWorkOrchestratorindexingOrchestrator(String documentId, String routingKey)List<LuceneParallelWorkOrchestrator>managementOrchestrators(Set<String> routingKeys)StringmappedTypeName()
-
-
-
Method Detail
-
mappedTypeName
String mappedTypeName()
-
indexingOrchestrator
LuceneSerialWorkOrchestrator indexingOrchestrator(String documentId, String routingKey)
-
managementOrchestrators
List<LuceneParallelWorkOrchestrator> managementOrchestrators(Set<String> routingKeys)
-
allManagementOrchestrators
List<LuceneParallelWorkOrchestrator> allManagementOrchestrators()
-
-