Package 

Class Schedulers

    • Method Summary

      Modifier and Type Method Description
      static Scheduler newThread() Creates and returns a Scheduler that creates a new Thread for each unit of work.
      static Scheduler computation() Creates and returns a Scheduler intended for computational work.
      static Scheduler io() Creates and returns a Scheduler intended for IO-bound work.
      static void reset() Resets the current Schedulers instance.This will re-init the cached schedulers on the next usage,which can be useful in testing.
      static Scheduler from(Executor executor) Converts an Executor into a new Scheduler instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait