Class DocStoreDeleteEvent
- java.lang.Object
-
- io.ebeanservice.docstore.api.support.DocStoreDeleteEvent
-
- All Implemented Interfaces:
DocStoreUpdate
public class DocStoreDeleteEvent extends Object implements DocStoreUpdate
A 'Delete by Id' request that is send to the document store.
-
-
Constructor Summary
Constructors Constructor Description DocStoreDeleteEvent(BeanType<?> beanType, Object idValue)
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
DocStoreDeleteEvent
public DocStoreDeleteEvent(BeanType<?> beanType, Object idValue)
-
-
Method Detail
-
docStoreUpdate
public void docStoreUpdate(DocStoreUpdateContext txn) throws IOException
Add appropriate JSON content for sending to the ElasticSearch Bulk API.- Specified by:
docStoreUpdatein interfaceDocStoreUpdate- Throws:
IOException
-
addToQueue
public void addToQueue(DocStoreUpdates docStoreUpdates)
Add this event to the queue (for queue delayed processing).- Specified by:
addToQueuein interfaceDocStoreUpdate
-
-