Class CancelableTaskHolder

    • Constructor Detail

      • CancelableTaskHolder

        public CancelableTaskHolder()
    • Method Detail

      • setException

        public void setException​(Throwable ex)
      • cancel

        public boolean cancel()
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface CancelCheck
        Returns:
        true if the corresponding operation was actually cancelled
      • isExecutionFailed

        public boolean isExecutionFailed()