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

io.ebean.event.changelog.ChangeLogPrepare Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.event.changelog;

/**
 * Listen for changes.
 * 

* Implementations can take the changes and store them in a document store for auditing purposes etc. *

*/ public interface ChangeLogPrepare { /** * In the foreground prepare the changeLog for sending. *

* This is intended to set extra context information onto the ChangeSet such * as the application user id and client ip address. *

*

* Returning false means the changeLog is not sent to the log() method in a background thread * and implies that the changeSet should be ignored or that is has been handled in this prepare() * method call. *

* * @return true if the changeLog should then be sent to the log method in a background thread. */ boolean prepare(ChangeSet changeSet); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy