public enum MethodReaderStatus extends Enum<MethodReaderStatus>
MethodReader, particularly for
generated readers such as AbstractGeneratedMethodReader.| Enum Constant and Description |
|---|
EMPTY
Indicates that no message or event was found or processed in the current
read attempt (for example end of document or no data available).
|
HISTORY
Indicates that a
MessageHistory event
was read and processed. |
KNOWN
Indicates that a known method or event was successfully read,
deserialized and dispatched to a handler.
|
UNKNOWN
Indicates that an unknown method or event was encountered.
|
| Modifier and Type | Method and Description |
|---|---|
static MethodReaderStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodReaderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodReaderStatus EMPTY
public static final MethodReaderStatus HISTORY
MessageHistory event
was read and processed.public static final MethodReaderStatus KNOWN
public static final MethodReaderStatus UNKNOWN
public static MethodReaderStatus[] values()
for (MethodReaderStatus c : MethodReaderStatus.values()) System.out.println(c);
public static MethodReaderStatus 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 © 2026 Chronicle Software Ltd. All rights reserved.