public interface IndexingQueue
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneDoc doc)
Adds the given doc to a queue with possible wait if queue is full.
|
void |
addAllSynchronously(Map<String,Collection<org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneDoc>> docsPerIndex)
The docs are added directly to the index without any queuing
|
boolean |
addIfNotFullWithoutWait(org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneDoc doc)
Adds the given doc to a queue without any wait
|
void |
scheduleQueuedDocsProcessing()
Schedules the async processing of queued entries
|
boolean addIfNotFullWithoutWait(org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneDoc doc)
doc - to be addedboolean add(org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneDoc doc)
doc - LuceneDoc to be addedvoid addAllSynchronously(Map<String,Collection<org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneDoc>> docsPerIndex)
docsPerIndex - map of LuceneDoc per index pathvoid scheduleQueuedDocsProcessing()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.