public static enum ExecutorServiceBuilder.ThreadPoolExecutorQueueType extends Enum<ExecutorServiceBuilder.ThreadPoolExecutorQueueType>
Enum Constant and Description |
---|
ARRAY_BLOCKING_QUEUE
|
LINKED_BLOCKING_QUEUE |
LINKED_BLOCKING_QUEUE_WITH_CAP
|
SYNCHRONOUS_BLOCKING_QUEUE
|
Modifier and Type | Method and Description |
---|---|
static ExecutorServiceBuilder.ThreadPoolExecutorQueueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutorServiceBuilder.ThreadPoolExecutorQueueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutorServiceBuilder.ThreadPoolExecutorQueueType LINKED_BLOCKING_QUEUE
public static final ExecutorServiceBuilder.ThreadPoolExecutorQueueType LINKED_BLOCKING_QUEUE_WITH_CAP
public static final ExecutorServiceBuilder.ThreadPoolExecutorQueueType ARRAY_BLOCKING_QUEUE
public static final ExecutorServiceBuilder.ThreadPoolExecutorQueueType SYNCHRONOUS_BLOCKING_QUEUE
public static ExecutorServiceBuilder.ThreadPoolExecutorQueueType[] values()
for (ExecutorServiceBuilder.ThreadPoolExecutorQueueType c : ExecutorServiceBuilder.ThreadPoolExecutorQueueType.values()) System.out.println(c);
public static ExecutorServiceBuilder.ThreadPoolExecutorQueueType 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 © 2023. All Rights Reserved.