Package org.infinispan.stream.impl
Enum StreamRequestCommand.Type
- java.lang.Object
-
- java.lang.Enum<StreamRequestCommand.Type>
-
- org.infinispan.stream.impl.StreamRequestCommand.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<StreamRequestCommand.Type>
- Enclosing class:
- StreamRequestCommand<K>
public static enum StreamRequestCommand.Type extends Enum<StreamRequestCommand.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TERMINAL
TERMINAL_KEY
TERMINAL_KEY_REHASH
TERMINAL_REHASH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamRequestCommand.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static StreamRequestCommand.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERMINAL
public static final StreamRequestCommand.Type TERMINAL
-
TERMINAL_REHASH
public static final StreamRequestCommand.Type TERMINAL_REHASH
-
TERMINAL_KEY
public static final StreamRequestCommand.Type TERMINAL_KEY
-
TERMINAL_KEY_REHASH
public static final StreamRequestCommand.Type TERMINAL_KEY_REHASH
-
-
Method Detail
-
values
public static StreamRequestCommand.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StreamRequestCommand.Type c : StreamRequestCommand.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamRequestCommand.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-