Interface PauseConnectorCallback

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface PauseConnectorCallback
    Callback called during the PauseConnectorHandler execution, may be used to provide custom pausing logic.

    Default implementation of this callback calls the PUBLIC.PAUSE_CONNECTOR_INTERNAL procedure.

    • Method Detail

      • execute

        ConnectorResponse execute()
        Executes the callback logic.
        Returns:
        a response with the code OK if the execution was successful, a response with the code ROLLBACK if the callback performed a rollback operation, or a response with an error code and an error message