Class AbstractFuture.Cancellation

  • Enclosing class:
    AbstractFuture<V>

    private static final class AbstractFuture.Cancellation
    extends java.lang.Object
    A special value to represent cancellation and the 'wasInterrupted' bit.
    • Constructor Detail

      • Cancellation

        Cancellation​(boolean wasInterrupted,
                     java.lang.Throwable cause)