public static enum ControlledMessageHandler.Action extends Enum<ControlledMessageHandler.Action>
ControlledMessageHandler.onMessage(int, MutableDirectBuffer, int, int)
.Enum Constant and Description |
---|
ABORT
Abort the current read operation and do not advance the position for this message.
|
BREAK
Break from the current read operation and commit the position as of the end of the current message
being handled.
|
COMMIT
Continue processing but commit the position as of the end of the current message so that
flow control is applied to this point.
|
CONTINUE
Continue processing until limit or no messages with position commit at end of read as the in
ControlledMessageHandler.onMessage(int, MutableDirectBuffer, int, int) . |
Modifier and Type | Method and Description |
---|---|
static ControlledMessageHandler.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlledMessageHandler.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlledMessageHandler.Action ABORT
public static final ControlledMessageHandler.Action BREAK
public static final ControlledMessageHandler.Action COMMIT
public static final ControlledMessageHandler.Action CONTINUE
ControlledMessageHandler.onMessage(int, MutableDirectBuffer, int, int)
.public static ControlledMessageHandler.Action[] values()
for (ControlledMessageHandler.Action c : ControlledMessageHandler.Action.values()) System.out.println(c);
public static ControlledMessageHandler.Action 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 © 2014-2021 Real Logic Limited. All Rights Reserved.