public static enum Alarm.ThreadToUse extends java.lang.Enum<Alarm.ThreadToUse>
Enum Constant and Description |
---|
OWN_THREAD
Deprecated.
Use
POOLED_THREAD instead |
POOLED_THREAD
Run requests in one of application pooled threads.
|
SHARED_THREAD
Deprecated.
Use
POOLED_THREAD instead |
SWING_THREAD
Run request in Swing EventDispatchThread.
|
Modifier and Type | Method and Description |
---|---|
static Alarm.ThreadToUse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Alarm.ThreadToUse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alarm.ThreadToUse SWING_THREAD
@Deprecated public static final Alarm.ThreadToUse SHARED_THREAD
POOLED_THREAD
insteadpublic static final Alarm.ThreadToUse POOLED_THREAD
@Deprecated public static final Alarm.ThreadToUse OWN_THREAD
POOLED_THREAD
insteadpublic static Alarm.ThreadToUse[] values()
for (Alarm.ThreadToUse c : Alarm.ThreadToUse.values()) System.out.println(c);
public static Alarm.ThreadToUse 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