Enum Class PushResult.Kind
- All Implemented Interfaces:
Serializable, Comparable<PushResult.Kind>, Constable
- Enclosing class:
PushResult
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA handoff on this route is still in flight; nothing was sent (backpressure).Moved directly;PushResult.moved()arrived at the target.Sent to another region;PushResult.moved()is in escrow until the target answers.No machine, port or loaded chunk on that side. -
Method Summary
Modifier and TypeMethodDescriptionstatic PushResult.KindReturns the enum constant of this class with the specified name.static PushResult.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DELIVERED
Moved directly;PushResult.moved()arrived at the target. -
HANDOFF
Sent to another region;PushResult.moved()is in escrow until the target answers. -
BUSY
A handoff on this route is still in flight; nothing was sent (backpressure). -
NO_TARGET
No machine, port or loaded chunk on that side.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-