Class DeepJExecutor

java.lang.Object
io.github.kirstenali.deepj.concurrent.DeepJExecutor

public final class DeepJExecutor extends Object
  • Method Details

    • setNumThreads

      public static void setNumThreads(int n)
    • getNumThreads

      public static int getNumThreads()
    • setParallelEnabled

      public static void setParallelEnabled(boolean enabled)
    • isParallelEnabled

      public static boolean isParallelEnabled()
    • shutdown

      public static void shutdown()
    • forRange

      public static void forRange(int startInclusive, int endExclusive, IntConsumer body)