public class LocalBackendQueueProcessor extends Object implements BackendQueueProcessor
LocalBackend.BackendQueueProcessor.Transactional| Constructor and Description |
|---|
LocalBackendQueueProcessor()
Deprecated.
Provided so that passing the LocalBackendQueueProcessor class
as the value of the "backend" configuration option still works, but normally
the "local" string should be used instead, in which case the other constructor
is used.
|
LocalBackendQueueProcessor(IndexManager indexManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
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 |
applyWork(List<LuceneWork> workList,
IndexingMonitor monitor)
Applies a list of operations to the index.
|
void |
close()
Used to shutdown and eventually release resources.
|
void |
initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager)
Deprecated.
Provided so that passing the LocalBackendQueueProcessor class
as the value of the "backend" configuration option still works, but normally
the "local" string should be used instead, in which case this method is not used.
|
@Deprecated public LocalBackendQueueProcessor()
public LocalBackendQueueProcessor(IndexManager indexManager)
@Deprecated public void initialize(Properties props, WorkerBuildContext context, IndexManager indexManager)
BackendQueueProcessorinitialize in interface BackendQueueProcessorprops - all configuration propertiescontext - context giving access to required meta dataindexManager - the index it is related to.public void close()
BackendQueueProcessorclose in interface BackendQueueProcessorpublic void applyWork(List<LuceneWork> workList, IndexingMonitor monitor)
BackendQueueProcessorapplyWork in interface BackendQueueProcessorworkList - list of Lucene work instance which need to be applied to the indexmonitor - a IndexingMonitor object.public void applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)
BackendQueueProcessorBackendQueueProcessor.applyWork(List, IndexingMonitor)applyStreamWork in interface BackendQueueProcessorsingleOperation - single Lucene work instance to be applied to the indexmonitor - a IndexingMonitor object.Copyright © 2006–2017 Hibernate. All rights reserved.