Class FuturesHelper


  • public class FuturesHelper
    extends Object
    Not thread-safe. Assumes tasks are added from single thread.
    Author:
    Marek Posolda
    • Constructor Detail

      • FuturesHelper

        public FuturesHelper()
    • Method Detail

      • addTask

        public void addTask​(Future future)
      • waitForAllToFinish

        public void waitForAllToFinish()
      • size

        public int size()