Modifier and Type | Class and Description |
---|---|
class |
AddLuceneWork |
class |
DeleteLuceneWork |
class |
FlushLuceneWork
Used to flush and commit asynchronous and other pending operations on the Indexes.
|
class |
OptimizeLuceneWork
A unit of work triggering an optimize operation.
|
class |
PurgeAllLuceneWork
A unit of work used to purge an entire index.
|
class |
UpdateLuceneWork
Carries a Lucene update operation from the engine to the backend
|
Modifier and Type | Class and Description |
---|---|
class |
DeleteByQueryLuceneWork
Representation of deleteByQuery(...) from Lucene.
|
Modifier and Type | Method and Description |
---|---|
void |
BackendQueueProcessor.applyStreamWork(LuceneWork singleOperation,
IndexingMonitor monitor)
Applies a single operation on the index, and different operations can be applied in parallel,
even in parallel to a workList instance being processed by
BackendQueueProcessor.applyWork(List, IndexingMonitor) |
void |
OperationDispatcher.dispatch(LuceneWork work,
IndexingMonitor monitor) |
void |
BatchBackend.doWorkInSync(LuceneWork work)
Does one work in sync
|
void |
BatchBackend.enqueueAsyncWork(LuceneWork work)
Enqueues one work to be processed asynchronously
|
Modifier and Type | Method and Description |
---|---|
void |
BackendQueueProcessor.applyWork(List<LuceneWork> workList,
IndexingMonitor monitor)
Applies a list of operations to the index.
|
void |
OperationDispatcher.dispatch(List<LuceneWork> queue,
IndexingMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractDocumentBuilder.addWorkToQueue(String tenantIdentifier,
IndexedTypeIdentifier typeIdentifier,
Object entity,
Serializable id,
boolean delete,
boolean add,
List<LuceneWork> queue,
ConversionContext contextualBridge) |
void |
DocumentBuilderContainedEntity.addWorkToQueue(String tenantId,
IndexedTypeIdentifier typeIdentifier,
Object entity,
Serializable id,
boolean delete,
boolean add,
List<LuceneWork> queue,
ConversionContext contextualBridge) |
void |
DocumentBuilderIndexedEntity.addWorkToQueue(String tenantId,
IndexedTypeIdentifier typeIdentifier,
Object entity,
Serializable id,
boolean delete,
boolean add,
List<LuceneWork> queue,
ConversionContext contextualBridge) |
Modifier and Type | Method and Description |
---|---|
LuceneWork |
ErrorContext.getOperationAtFault() |
Modifier and Type | Method and Description |
---|---|
List<LuceneWork> |
ErrorContext.getFailingOperations() |
Modifier and Type | Method and Description |
---|---|
List<LuceneWork> |
LuceneWorkSerializer.toLuceneWorks(byte[] data)
Convert a byte[] to a List of LuceneWork.
|
Modifier and Type | Method and Description |
---|---|
void |
Serializer.luceneWorks(List<LuceneWork> works) |
byte[] |
LuceneWorkSerializer.toSerializedModel(List<LuceneWork> works)
Convert a List of LuceneWork into a byte[].
|
Modifier and Type | Method and Description |
---|---|
void |
IndexManager.performStreamOperation(LuceneWork singleOperation,
IndexingMonitor monitor,
boolean forceAsync)
Perform a single non-transactional operation, best to stream large amounts of operations.
|
void |
DirectoryBasedIndexManager.performStreamOperation(LuceneWork singleOperation,
IndexingMonitor monitor,
boolean forceAsync) |
Modifier and Type | Method and Description |
---|---|
void |
IndexManager.performOperations(List<LuceneWork> queue,
IndexingMonitor monitor)
Used to apply update operations to the index.
|
void |
DirectoryBasedIndexManager.performOperations(List<LuceneWork> workList,
IndexingMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
void |
Workspace.notifyWorkApplied(LuceneWork work)
Deprecated.
Some workspaces need this to determine for example the kind of flush operations which are safe
to apply.
|
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.