public static enum ThreadPoolConfig.ThreadPoolPolicy extends java.lang.Enum<ThreadPoolConfig.ThreadPoolPolicy>
Enum Constant and Description |
---|
ABORT |
DISCARD |
DISCARDOLDEST |
RUN |
Modifier and Type | Method and Description |
---|---|
static ThreadPoolConfig.ThreadPoolPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadPoolConfig.ThreadPoolPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadPoolConfig.ThreadPoolPolicy ABORT
public static final ThreadPoolConfig.ThreadPoolPolicy DISCARD
public static final ThreadPoolConfig.ThreadPoolPolicy DISCARDOLDEST
public static final ThreadPoolConfig.ThreadPoolPolicy RUN
public static ThreadPoolConfig.ThreadPoolPolicy[] values()
for (ThreadPoolConfig.ThreadPoolPolicy c : ThreadPoolConfig.ThreadPoolPolicy.values()) System.out.println(c);
public static ThreadPoolConfig.ThreadPoolPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"