Class IndexingCommandsStacker
java.lang.Object
org.nuxeo.ecm.core.search.index.commands.IndexingCommandsStacker
- Direct Known Subclasses:
ThreadLocalIndexingCommandsStacker
Contains logic to stack ElasticSearch commands depending on Document events This class is mainly here to make testing
easier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Map<String, IndexingCommands> protected IndexingCommandsgetCommands(DocumentModel doc) protected StringgetDocKey(DocumentModel doc) protected IndexingCommandsprotected booleanisSynchronous(DocumentEventContext docCtx, DocumentModel doc) protected abstract booleanprotected voidstackCommand(DocumentModel doc, String eventId, boolean sync) protected voidstackCommand(DocumentModel doc, DocumentEventContext docCtx, String eventId) voidstackCommand(DocumentEventContext docCtx, String eventId)
-
Constructor Details
-
IndexingCommandsStacker
public IndexingCommandsStacker()
-
-
Method Details
-
getAllCommands
-
isSyncIndexingByDefault
protected abstract boolean isSyncIndexingByDefault() -
getCommands
-
stackCommand
-
stackCommand
-
isSynchronous
-
stackCommand
-
getOrCreateCommands
-
getDocKey
-