Class CombinedFuture.CallableInterruptibleTask

    • Constructor Summary

      Constructors 
      Constructor Description
      CallableInterruptibleTask​(java.util.concurrent.Callable<V> callable, java.util.concurrent.Executor listenerExecutor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) V runInterruptibly()
      Do interruptible work here - do not complete Futures here, as their listeners could be interrupted.
      (package private) void setValue​(V value)  
      (package private) java.lang.String toPendingString()  
      • 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

      • callable

        private final java.util.concurrent.Callable<V> callable
    • Constructor Detail

      • CallableInterruptibleTask

        CallableInterruptibleTask​(java.util.concurrent.Callable<V> callable,
                                  java.util.concurrent.Executor listenerExecutor)