Class ModWorkManager

java.lang.Object
net.neoforged.fml.ModWorkManager

public class ModWorkManager extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • syncWorkExecutor

      private static final Executor syncWorkExecutor
    • parallelThreadPool

      private static ForkJoinPool parallelThreadPool
  • Constructor Details

    • ModWorkManager

      public ModWorkManager()
  • Method Details

    • syncExecutor

      public static Executor syncExecutor()
      Executor that runs tasks on a single thread in the order they are submitted.
    • parallelExecutor

      public static Executor parallelExecutor()
      Executor that runs tasks in parallel across multiple background threads.
    • newForkJoinWorkerThread

      private static ForkJoinWorkerThread newForkJoinWorkerThread(ForkJoinPool pool)