Interface ReusableExecution<C>

  • All Superinterfaces:
    Execution

    public interface ReusableExecution<C>
    extends Execution
    Additional methods that may optionally be implemented for an Execution
    • Method Detail

      • reset

        void reset​(Command c,
                   ExecutionContext executionContext,
                   C connection)
        Called to reinitialized the execution for use.
        Parameters:
        c -
        executionContext -
        connection -
      • dispose

        void dispose()
        Called when the execution is no longer used.