Interface SnapshotChangeEventSource

    • Method Detail

      • execute

        SnapshotResult execute​(ChangeEventSource.ChangeEventSourceContext context)
                        throws InterruptedException
        Executes this source. Implementations should regularly check via the given context if they should stop. If that's the case, they should abort their processing and perform any clean-up needed, such as rolling back pending transactions, releasing locks etc.
        Parameters:
        context - contextual information for this source's execution
        Returns:
        an indicator to the position at which the snapshot was taken
        Throws:
        InterruptedException - in case the snapshot was aborted before completion