public enum NextQueueStrategy extends Enum<NextQueueStrategy>
| Enum Constant and Description |
|---|
DRAIN_WHILE_MESSAGES_EXISTS
Drains messages as long as current queue is not empty
|
RESET_TO_HIGHEST_PRIORITY
Resets to check the first queue, then second queue, etc.
|
| Modifier and Type | Method and Description |
|---|---|
static NextQueueStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NextQueueStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NextQueueStrategy DRAIN_WHILE_MESSAGES_EXISTS
public static final NextQueueStrategy RESET_TO_HIGHEST_PRIORITY
public static NextQueueStrategy[] values()
for (NextQueueStrategy c : NextQueueStrategy.values()) System.out.println(c);
public static NextQueueStrategy 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 © 2011–2019. All rights reserved.