Class SchedulerPoolFactory
java.lang.Object
io.reactivex.rxjava3.internal.schedulers.SchedulerPoolFactory
Manages the creating of ScheduledExecutorServices and sets up purging.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduledExecutorService
create
(ThreadFactory factory) Creates a ScheduledExecutorService with the given factory.(package private) static boolean
getBooleanProperty
(boolean enabled, String key, boolean defaultNotFound, boolean defaultNotEnabled, Function<String, String> propertyAccessor)
-
Field Details
-
PURGE_ENABLED_KEY
- See Also:
-
PURGE_ENABLED
public static final boolean PURGE_ENABLED
-
-
Constructor Details
-
SchedulerPoolFactory
private SchedulerPoolFactory()Utility class.
-
-
Method Details
-
getBooleanProperty
-
create
Creates a ScheduledExecutorService with the given factory.- Parameters:
factory
- the thread factory- Returns:
- the ScheduledExecutorService
-