public static enum ExecutorServicesFactory.ThreadPoolType extends Enum<ExecutorServicesFactory.ThreadPoolType>
Enum Constant and Description |
---|
FIXED |
FIXED_TIMEOUT |
NONE |
SINGLE_THREAD |
Modifier and Type | Method and Description |
---|---|
static ExecutorServicesFactory.ThreadPoolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutorServicesFactory.ThreadPoolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutorServicesFactory.ThreadPoolType FIXED
public static final ExecutorServicesFactory.ThreadPoolType FIXED_TIMEOUT
public static final ExecutorServicesFactory.ThreadPoolType NONE
public static final ExecutorServicesFactory.ThreadPoolType SINGLE_THREAD
public static ExecutorServicesFactory.ThreadPoolType[] values()
for (ExecutorServicesFactory.ThreadPoolType c : ExecutorServicesFactory.ThreadPoolType.values()) System.out.println(c);
public static ExecutorServicesFactory.ThreadPoolType 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 © 2016. All rights reserved.