Interface CommandCallback<T extends BatchCommand<?,​T>>

  • Type Parameters:
    T - type of the BatchCommand to be executed by the executor implementation
    All Known Implementing Classes:
    AcknowledgeCallbackWrapper, NullCallback

    public interface CommandCallback<T extends BatchCommand<?,​T>>
    Callback interface for notifying a caller about the result of a batch command.
    • Method Detail

      • commandCompleted

        void commandCompleted()
        Called when a batch command is successfully executed
      • unhandledException

        void unhandledException​(java.lang.Exception e)
        Called when a batch command failed
        Parameters:
        e - the exception