public enum ThreadingModel extends Enum<ThreadingModel>
Enum Constant and Description |
---|
EVENT_LOOP
Event-loop threading model.
|
VIRTUAL_THREAD
Virtual thread threading model
|
WORKER
Worker threading model
|
Modifier and Type | Method and Description |
---|---|
static ThreadingModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadingModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadingModel EVENT_LOOP
public static final ThreadingModel WORKER
public static final ThreadingModel VIRTUAL_THREAD
public static ThreadingModel[] values()
for (ThreadingModel c : ThreadingModel.values()) System.out.println(c);
public static ThreadingModel 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 © 2024 Eclipse. All rights reserved.