public static enum BackpressureStrategy.WaitResult extends Enum<BackpressureStrategy.WaitResult>
Enum Constant and Description |
---|
CANCELLED
Listener was cancelled by the client.
|
OTHER
Indicates that the wait was interrupted for a reason
unrelated to the listener itself.
|
READY
Listener is ready.
|
TIMEOUT
Timed out waiting for the listener to change state.
|
Modifier and Type | Method and Description |
---|---|
static BackpressureStrategy.WaitResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackpressureStrategy.WaitResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackpressureStrategy.WaitResult READY
public static final BackpressureStrategy.WaitResult CANCELLED
public static final BackpressureStrategy.WaitResult TIMEOUT
public static final BackpressureStrategy.WaitResult OTHER
public static BackpressureStrategy.WaitResult[] values()
for (BackpressureStrategy.WaitResult c : BackpressureStrategy.WaitResult.values()) System.out.println(c);
public static BackpressureStrategy.WaitResult 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 © 2023 The Apache Software Foundation. All rights reserved.