public class DocStoreDeleteEvent extends Object implements DocStoreUpdate
| Constructor and Description |
|---|
DocStoreDeleteEvent(BeanType<?> beanType,
Object idValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToQueue(DocStoreUpdates docStoreUpdates)
Add this event to the queue (for queue delayed processing).
|
void |
docStoreUpdate(DocStoreUpdateContext txn)
Add appropriate JSON content for sending to the ElasticSearch Bulk API.
|
public DocStoreDeleteEvent(BeanType<?> beanType, Object idValue)
public void docStoreUpdate(DocStoreUpdateContext txn) throws IOException
docStoreUpdate in interface DocStoreUpdateIOExceptionpublic void addToQueue(DocStoreUpdates docStoreUpdates)
addToQueue in interface DocStoreUpdateCopyright © 2019. All rights reserved.