Class PromiseFactory.All<T,​S extends T>

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    PromiseFactory

    private static final class PromiseFactory.All<T,​S extends T>
    extends java.lang.Object
    implements java.lang.Runnable
    A callback used to resolve the specified Promise when the specified list of Promises are resolved for the PromiseFactory.all(Collection) method.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • promises

        private final java.util.List<Promise<S extends T>> promises
      • promiseCount

        private final java.util.concurrent.atomic.AtomicInteger promiseCount
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable