public interface WorkerBuildContext extends BuildContext
Modifier and Type | Method and Description |
---|---|
boolean |
enlistWorkerInTransaction() |
InstanceInitializer |
getInstanceInitializer() |
boolean |
isDeleteByTermEnforced() |
boolean |
isIndexMetadataComplete() |
boolean |
isTransactionManagerExpected() |
getAllIndexesManager, getErrorHandler, getIndexingMode, getIndexingStrategy, getServiceManager, getUninitializedSearchIntegrator
boolean isTransactionManagerExpected()
true
if a transaction manager is expected, false
otherwise.SearchConfiguration.isTransactionManagerExpected()
boolean isIndexMetadataComplete()
true
if it is safe to assume that the information we have about
index metadata is accurate. This should be set to false for example if the index
could contain Documents related to types not known to this SearchFactory instance.SearchConfiguration.isIndexMetadataComplete()
boolean isDeleteByTermEnforced()
true
if regardless of isIndexMetadataComplete
and the number
of types present in the index it is safe to delete by term given that the underlying
store guarantees uniqueness of idsInstanceInitializer getInstanceInitializer()
InstanceInitializer
interface.boolean enlistWorkerInTransaction()
true
if the worker and the backend enlist their work in the current transaction;
If false
, the worker will still use the transaction as context but will execute the
workload when the transaction commits.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved