public static enum MessageLog.Handler.Result extends Enum<MessageLog.Handler.Result>
| Enum Constant and Description |
|---|
PEEK
Mark message as peeked only so it is revisited when polling again
|
POLL
Mark message as consumed and aim for the next one when polling again
|
| Modifier and Type | Method and Description |
|---|---|
static MessageLog.Handler.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageLog.Handler.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageLog.Handler.Result PEEK
public static final MessageLog.Handler.Result POLL
public static MessageLog.Handler.Result[] values()
for (MessageLog.Handler.Result c : MessageLog.Handler.Result.values()) System.out.println(c);
public static MessageLog.Handler.Result 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 © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.