Package io.ebeanservice.docstore.api
Interface DocStoreUpdate
-
- All Known Implementing Classes:
DocStoreDeleteEvent,DocStoreIndexEvent
public interface DocStoreUpdate
For persist events that know how to publish or queue their change to the Document store.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddToQueue(DocStoreUpdates docStoreUpdates)Add to the queue for deferred processing.voiddocStoreUpdate(DocStoreUpdateContext txn)Add the event to the doc store bulk update.
-
-
-
Method Detail
-
docStoreUpdate
void docStoreUpdate(DocStoreUpdateContext txn) throws IOException
Add the event to the doc store bulk update.- Throws:
IOException
-
addToQueue
void addToQueue(DocStoreUpdates docStoreUpdates)
Add to the queue for deferred processing.
-
-