public static enum WeldNotificationOptions.NotificationMode extends Enum<WeldNotificationOptions.NotificationMode>
WeldNotificationOptions.MODE
Enum Constant and Description |
---|
PARALLEL
Async observers are notified in parallel assuming that the
Executor used supports parallel execution. |
SERIAL
Async observers are notified serially in a single worker thread (default behavior).
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEqual(Object value) |
static WeldNotificationOptions.NotificationMode |
of(Object value) |
static WeldNotificationOptions.NotificationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeldNotificationOptions.NotificationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeldNotificationOptions.NotificationMode SERIAL
public static final WeldNotificationOptions.NotificationMode PARALLEL
Executor
used supports parallel execution.public static WeldNotificationOptions.NotificationMode[] values()
for (WeldNotificationOptions.NotificationMode c : WeldNotificationOptions.NotificationMode.values()) System.out.println(c);
public static WeldNotificationOptions.NotificationMode 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 boolean isEqual(Object value)
public static WeldNotificationOptions.NotificationMode of(Object value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.