Interface ITerminableFuture<E>

    • Method Detail

      • terminate

        void terminate()
        Terminate the future. The exception will be set to FutureTerminatedException.
      • terminate

        void terminate​(java.lang.Exception reason)
        Terminate the future and supply a custom reason.