Class CombinedFuture.CombinedFutureInterruptibleTask<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Executor listenerExecutor  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void afterRanInterruptibly​(T result, java.lang.Throwable error)
      Any interruption that happens as a result of calling interruptTask will arrive before this method is called.
      (package private) void execute()  
      (package private) boolean isDone()
      Called before runInterruptibly - if true, runInterruptibly and afterRanInterruptibly will not be called.
      (package private) abstract void setValue​(T value)  
      • Methods inherited from class java.util.concurrent.atomic.AtomicReference

        accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • listenerExecutor

        private final java.util.concurrent.Executor listenerExecutor
    • Constructor Detail

      • CombinedFutureInterruptibleTask

        CombinedFutureInterruptibleTask​(java.util.concurrent.Executor listenerExecutor)
    • Method Detail

      • isDone

        final boolean isDone()
        Description copied from class: InterruptibleTask
        Called before runInterruptibly - if true, runInterruptibly and afterRanInterruptibly will not be called.
        Specified by:
        isDone in class InterruptibleTask<T>
      • execute

        final void execute()
      • afterRanInterruptibly

        final void afterRanInterruptibly​(T result,
                                         java.lang.Throwable error)
        Description copied from class: InterruptibleTask
        Any interruption that happens as a result of calling interruptTask will arrive before this method is called. Complete Futures here.
        Specified by:
        afterRanInterruptibly in class InterruptibleTask<T>
      • setValue

        abstract void setValue​(T value)