Top Description Fields Constructors Methods
rx.internal.schedulers

pack-priv final Enum GenericScheduledExecutorServiceFactory

extends Enum<GenericScheduledExecutorServiceFactory>
Class Inheritance
Imports
java.util.concurrent.*, rx.functions.Func0, rx.internal.util.RxThreadFactory, rx.plugins.RxJavaHooks

Utility class to create the individual ScheduledExecutorService instances for the GenericScheduledExecutorService class.

Field Summary

Modifier and TypeField and Description
pack-priv static final RxThreadFactory
pack-priv static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ScheduledExecutorService

Returns:

the ScheduledExecutorService created.
create
()

Creates a ScheduledExecutorService (either the default or given by a hook).

pack-priv static ScheduledExecutorService
pack-priv static ThreadFactory
public static GenericScheduledExecutorServiceFactory
public static GenericScheduledExecutorServiceFactory[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

THREAD_FACTORYback to summary
pack-priv static final RxThreadFactory THREAD_FACTORY
THREAD_NAME_PREFIXback to summary
pack-priv static final String THREAD_NAME_PREFIX

Constructor Detail

GenericScheduledExecutorServiceFactoryback to summary
private GenericScheduledExecutorServiceFactory()

Method Detail

createback to summary
public static ScheduledExecutorService create()

Creates a ScheduledExecutorService (either the default or given by a hook).

Returns:ScheduledExecutorService

the ScheduledExecutorService created.

createDefaultback to summary
pack-priv static ScheduledExecutorService createDefault()
threadFactoryback to summary
pack-priv static ThreadFactory threadFactory()
valueOfback to summary
public static GenericScheduledExecutorServiceFactory valueOf(String name)
valuesback to summary
public static GenericScheduledExecutorServiceFactory[] values()