Class DocStoreIndexEvent<T>
java.lang.Object
io.ebeanservice.docstore.api.support.DocStoreIndexEvent<T>
- All Implemented Interfaces:
DocStoreUpdate
public class DocStoreIndexEvent<T> extends Object implements DocStoreUpdate
A 'Delete by Id' request that is send to the document store.
-
Constructor Summary
Constructors Constructor Description DocStoreIndexEvent(BeanType<T> beanType, Object idValue, T bean) -
Method Summary
Modifier and Type Method Description voidaddToQueue(DocStoreUpdates docStoreUpdates)Add this event to the queue (for queue delayed processing).voiddocStoreUpdate(DocStoreUpdateContext txn)Add appropriate JSON content for sending to the ElasticSearch Bulk API.
-
Constructor Details
-
DocStoreIndexEvent
-
-
Method Details
-
docStoreUpdate
Add appropriate JSON content for sending to the ElasticSearch Bulk API.- Specified by:
docStoreUpdatein interfaceDocStoreUpdate- Throws:
IOException
-
addToQueue
Add this event to the queue (for queue delayed processing).- Specified by:
addToQueuein interfaceDocStoreUpdate
-