Interface Cancellable

    • Method Detail

      • cancel

        CancelFuture cancel()
        Attempts to cancel the operation.
        Returns:
        A CancelFuture that can be used to wait for the cancellation to have been effected, or null if the future cannot be canceled or is already completed.
      • isCanceled

        boolean isCanceled()
        Tells whether this operation was canceled.
        Returns:
        true if the operation was cancelled, false otherwise.