Class SchedulerPoolFactory

java.lang.Object
io.reactivex.rxjava3.internal.schedulers.SchedulerPoolFactory

public final class SchedulerPoolFactory extends Object
Manages the creating of ScheduledExecutorServices and sets up purging.
  • Field Details

    • PURGE_ENABLED

      public static final boolean PURGE_ENABLED
  • Method Details

    • create

      public static ScheduledExecutorService create(ThreadFactory factory)
      Creates a ScheduledExecutorService with the given factory.
      Parameters:
      factory - the thread factory
      Returns:
      the ScheduledExecutorService