public static enum IQRequestHandler.Mode extends Enum<IQRequestHandler.Mode>
Enum Constant and Description |
---|
async
Process IQ requests asynchronously, i.e.
|
sync
Process requests synchronously, i.e.
|
Modifier and Type | Method and Description |
---|---|
static IQRequestHandler.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IQRequestHandler.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IQRequestHandler.Mode sync
async
if
possible for performance reasons.public static final IQRequestHandler.Mode async
public static IQRequestHandler.Mode[] values()
for (IQRequestHandler.Mode c : IQRequestHandler.Mode.values()) System.out.println(c);
public static IQRequestHandler.Mode 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 null