Interface ChangeLogPrepare


  • public interface ChangeLogPrepare
    Listen for changes.

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

    • Method Detail

      • prepare

        boolean prepare​(ChangeSet changeSet)
        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.

        Returns:
        true if the changeLog should then be sent to the log method in a background thread.