All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeanservice.docstore.api.DocStoreUpdate Maven / Gradle / Ivy

There is a newer version: 15.6.0
Show newest version
package io.ebeanservice.docstore.api;

import java.io.IOException;

/**
 * For persist events that know how to publish or queue their change to the Document store.
 */
public interface DocStoreUpdate {

  /**
   * Add the event to the doc store bulk update.
   */
  void docStoreUpdate(DocStoreUpdateContext txn) throws IOException;

  /**
   * Add to the queue for deferred processing.
   */
  void addToQueue(DocStoreUpdates docStoreUpdates);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy