Class Executors

java.lang.Object
net.binis.codegen.async.executor.Executors

public abstract class Executors extends Object
  • Constructor Details

    • Executors

      public Executors()
  • Method Details

    • wrappedExecutor

      public static Executor wrappedExecutor(String flow, Executor task)
    • defaultExecutor

      public static Executor defaultExecutor(String flow)
    • fixedThreadPool

      public static Executor fixedThreadPool(String flow, int nThreads)
    • fixedThreadPool

      public static Executor fixedThreadPool(String flow, int nThreads, int queueSize)
    • singleThreadedExecutor

      public static Executor singleThreadedExecutor(String flow)
    • singleThreadedExecutor

      public static Executor singleThreadedExecutor(String flow, int queueSize)
    • silentExecutor

      public static Executor silentExecutor(String flow)
    • syncExecutor

      public static Executor syncExecutor()
    • syncSilentExecutor

      public static Executor syncSilentExecutor()