Package one.nio.async

Class AsyncExecutor


  • public class AsyncExecutor
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.concurrent.ThreadPoolExecutor POOL  
    • Constructor Summary

      Constructors 
      Constructor Description
      AsyncExecutor()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void fork​(int workers, ParallelTask task)  
      static void fork​(ParallelTask task)  
      static <T> java.util.concurrent.Future<T> submit​(java.util.concurrent.Callable<T> task)  
      static <T> CombinedFuture<T> submitAll​(java.util.concurrent.Callable<T>... tasks)  
      • Methods inherited from class java.lang.Object

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

      • POOL

        public static final java.util.concurrent.ThreadPoolExecutor POOL
    • Constructor Detail

      • AsyncExecutor

        public AsyncExecutor()