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

api.DataChangeListener Maven / Gradle / Ivy

package api;

/**
 * Handles changes to the database
 * @param  The type of the schema the database fulfills.
 * @param  Type of the data that is to be stored in the database.
 */
public interface DataChangeListener {
    void initiated(S newSchema);
    void inserted(D insertedData);
    void deleted(D deletedData);
    void updated(D oldData, D newData);
}