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 DocStoreUpdate
IOException
public void addToQueue(DocStoreUpdates docStoreUpdates)
addToQueue
in interface DocStoreUpdate
Copyright © 2019. All rights reserved.