Top Description Inners Fields Constructors Methods
io.reactivex.rxjava3.internal.schedulers

public final Class SchedulerPoolFactory

extends Object
Class Inheritance
Imports
java.util.concurrent.*, io.reactivex.rxjava3.exceptions.Exceptions, io.reactivex.rxjava3.functions.Function

Manages the creating of ScheduledExecutorServices and sets up purging.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
public static final boolean
pack-priv static final String

Constructor Summary

AccessConstructor and Description
private
SchedulerPoolFactory()

Utility class.

Method Summary

Modifier and TypeMethod and Description
public static ScheduledExecutorService

Returns:

the ScheduledExecutorService
create
(ThreadFactory
the thread factory
factory
)

Creates a ScheduledExecutorService with the given factory.

pack-priv static boolean
getBooleanProperty(boolean enabled, String key, boolean defaultNotFound, boolean defaultNotEnabled, Function<String, String> propertyAccessor)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

PURGE_ENABLEDback to summary
public static final boolean PURGE_ENABLED
PURGE_ENABLED_KEYback to summary
pack-priv static final String PURGE_ENABLED_KEY

Constructor Detail

SchedulerPoolFactoryback to summary
private SchedulerPoolFactory()

Utility class.

Method Detail

createback to summary
public static ScheduledExecutorService create(ThreadFactory factory)

Creates a ScheduledExecutorService with the given factory.

Parameters
factory:ThreadFactory

the thread factory

Returns:ScheduledExecutorService

the ScheduledExecutorService

getBooleanPropertyback to summary
pack-priv static boolean getBooleanProperty(boolean enabled, String key, boolean defaultNotFound, boolean defaultNotEnabled, Function<String, String> propertyAccessor)
io.reactivex.rxjava3.internal.schedulers back to summary

pack-priv final Class SchedulerPoolFactory.SystemPropertyAccessor

extends Object
implements Function<String, String>
Class Inheritance
  • java.lang.Object
  • io.reactivex.rxjava3.internal.schedulers.SchedulerPoolFactory.SystemPropertyAccessor
All Implemented Interfaces
io.reactivex.rxjava3.functions.Function

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
apply(String
the input value
t
)

Implements io.reactivex.rxjava3.functions.Function.apply.

Apply some calculation to the input value and return some other value.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SystemPropertyAccessorback to summary
pack-priv SystemPropertyAccessor()

Method Detail

applyback to summary
public String apply(String t)

Implements io.reactivex.rxjava3.functions.Function.apply.

Doc from io.reactivex.rxjava3.functions.Function.apply.

Apply some calculation to the input value and return some other value.

Parameters
t:String

the input value

Returns:String

the output value

Annotations
@Override