public static enum SchedulerProperties.ExecutorType extends Enum<SchedulerProperties.ExecutorType>
| Enum Constant and Description |
|---|
CACHED_THREAD_POOL |
FIXED_THREAD_POOL |
SINGLE_THREAD_POOL |
WORK_STEALING_POOL |
| Modifier and Type | Method and Description |
|---|---|
static SchedulerProperties.ExecutorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerProperties.ExecutorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerProperties.ExecutorType FIXED_THREAD_POOL
public static final SchedulerProperties.ExecutorType WORK_STEALING_POOL
public static final SchedulerProperties.ExecutorType SINGLE_THREAD_POOL
public static final SchedulerProperties.ExecutorType CACHED_THREAD_POOL
public static SchedulerProperties.ExecutorType[] values()
for (SchedulerProperties.ExecutorType c : SchedulerProperties.ExecutorType.values()) System.out.println(c);
public static SchedulerProperties.ExecutorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.