public interface IndexManagerImplementor<D extends DocumentElement> extends AutoCloseable
This is the interface implemented by backends and provided to the engine.
| Modifier and Type | Method and Description |
|---|---|
void |
addTo(IndexSearchScopeBuilder builder) |
void |
close() |
IndexDocumentWorkExecutor<D> |
createDocumentWorkExecutor(SessionContextImplementor sessionContext) |
IndexSearchScopeBuilder |
createSearchScopeBuilder(MappingContextImplementor mappingContext) |
IndexWorkExecutor |
createWorkExecutor() |
IndexWorkPlan<D> |
createWorkPlan(SessionContextImplementor sessionContext) |
void |
start(IndexManagerStartContext context)
Start any resource necessary to operate the index manager at runtime.
|
IndexManager |
toAPI() |
void start(IndexManagerStartContext context)
Called by the engine once after bootstrap, after
BackendImplementor.start(BackendStartContext)
was called on the corresponding backend.
context - The start context.IndexManager toAPI()
IndexWorkPlan<D> createWorkPlan(SessionContextImplementor sessionContext)
IndexDocumentWorkExecutor<D> createDocumentWorkExecutor(SessionContextImplementor sessionContext)
IndexWorkExecutor createWorkExecutor()
IndexSearchScopeBuilder createSearchScopeBuilder(MappingContextImplementor mappingContext)
void addTo(IndexSearchScopeBuilder builder)
void close()
close in interface AutoCloseableCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.