public interface WorkerBuildContext extends BuildContext
| Modifier and Type | Method and Description |
|---|---|
boolean |
enlistWorkerInTransaction() |
InstanceInitializer |
getInstanceInitializer() |
boolean |
isDeleteByTermEnforced() |
boolean |
isIndexMetadataComplete() |
boolean |
isMultitenancyEnabled() |
boolean |
isTransactionManagerExpected() |
getAllIndexesManager, getErrorHandler, getIndexingMode, getServiceManager, getUninitializedSearchIntegratorboolean 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 isMultitenancyEnabled()
true if multitenancy
should be enabled. When in doubt, this should return true.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-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.