Interface CallbackExecutor

    • Method Detail

      • onEvent

        void onEvent​(Event event)
        Executes the callbacks for this event on the main connection, within a separate transaction per callback if possible.
        Parameters:
        event - The event to handle.
      • onMigrateEvent

        void onMigrateEvent​(Event event)
        Executes the callbacks for this event on the migration connection, within a separate transaction per callback if possible.
        Parameters:
        event - The event to handle.
      • setMigrationInfo

        void setMigrationInfo​(MigrationInfo migrationInfo)
        Sets the current migration info.
        Parameters:
        migrationInfo - The current migration.
      • onEachMigrateEvent

        void onEachMigrateEvent​(Event event)
        Executes the callbacks for an "each" event within the same transaction (if any) as the main operation.
        Parameters:
        event - The event to handle.
      • onOperationFinishEvent

        void onOperationFinishEvent​(Event event,
                                    OperationResult operationResult)
        Executes the callbacks for an operation finish event.
        Parameters:
        event - The event to handle.
        operationResult - The operation result.