public static enum ControlledFragmentHandler.Action extends java.lang.Enum<ControlledFragmentHandler.Action>
Enum Constant and Description |
---|
ABORT
Abort the current polling operation and do not advance the position for this fragment.
|
BREAK
Break from the current polling operation and commit the position as of the end of the current fragment
being handled.
|
COMMIT
Continue processing but commit the position as of the end of the current fragment so that
flow control is applied to this point.
|
CONTINUE
Continue processing until fragment limit or no fragments with position commit at end of poll as the in
FragmentHandler.onFragment(DirectBuffer, int, int, Header) . |
Modifier and Type | Method and Description |
---|---|
static ControlledFragmentHandler.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControlledFragmentHandler.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlledFragmentHandler.Action ABORT
public static final ControlledFragmentHandler.Action BREAK
public static final ControlledFragmentHandler.Action COMMIT
public static final ControlledFragmentHandler.Action CONTINUE
FragmentHandler.onFragment(DirectBuffer, int, int, Header)
.public static ControlledFragmentHandler.Action[] values()
for (ControlledFragmentHandler.Action c : ControlledFragmentHandler.Action.values()) System.out.println(c);
public static ControlledFragmentHandler.Action valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.