public enum ThreadType extends Enum<ThreadType>
Thread owned by a Scheduler is configured to perform.| Enum Constant and Description |
|---|
CPU_INTENSIVE
|
CPU_LIGHT
|
CUSTOM
The type for
Threads managed by custom Schedulers. |
IO
|
UNKNOWN
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static ThreadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadType IO
public static final ThreadType CPU_INTENSIVE
public static final ThreadType CPU_LIGHT
public static final ThreadType CUSTOM
Threads managed by custom Schedulers.public static final ThreadType UNKNOWN
public static ThreadType[] values()
for (ThreadType c : ThreadType.values()) System.out.println(c);
public static ThreadType 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 nullpublic String getName()
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.