public enum NoopFlowControl extends Enum<NoopFlowControl> implements FlowControl
FlowControl.| Enum Constant and Description |
|---|
INSTANCE
Singleton instance of
NoopFlowControl. |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels response sending.
|
void |
request(long requested)
Requests the
requested amount of responses to be sent. |
static NoopFlowControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoopFlowControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoopFlowControl INSTANCE
NoopFlowControl.public static NoopFlowControl[] values()
for (NoopFlowControl c : NoopFlowControl.values()) System.out.println(c);
public static NoopFlowControl 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 nullpublic void request(long requested)
FlowControlrequested amount of responses to be sent.request in interface FlowControlrequested - number of responses to be sentpublic void cancel()
FlowControlcancel in interface FlowControlCopyright © 2020–2023 AxonIQ BV. All rights reserved.