public class ElasticsearchBackendQueueProcessor extends Object implements BackendQueueProcessor
BackendQueueProcessor applying index changes to an Elasticsearch server.BackendQueueProcessor.Transactional| Constructor and Description |
|---|
ElasticsearchBackendQueueProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyStreamWork(LuceneWork singleOperation,
IndexingMonitor monitor) |
void |
applyWork(List<LuceneWork> workList,
IndexingMonitor monitor) |
void |
close() |
void |
closeIndexWriter() |
Lock |
getExclusiveWriteLock() |
void |
indexMappingChanged() |
void |
initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager) |
public void initialize(Properties props, WorkerBuildContext context, IndexManager indexManager)
initialize in interface BackendQueueProcessorpublic void close()
close in interface BackendQueueProcessorpublic void applyWork(List<LuceneWork> workList, IndexingMonitor monitor)
applyWork in interface BackendQueueProcessorpublic void applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)
applyStreamWork in interface BackendQueueProcessorpublic Lock getExclusiveWriteLock()
getExclusiveWriteLock in interface BackendQueueProcessorpublic void indexMappingChanged()
indexMappingChanged in interface BackendQueueProcessorpublic void closeIndexWriter()
closeIndexWriter in interface BackendQueueProcessorCopyright © 2006–2016 Hibernate. All rights reserved.