org.infinispan.commands.control
Enum RehashControlCommand.Type
java.lang.Object
java.lang.Enum<RehashControlCommand.Type>
org.infinispan.commands.control.RehashControlCommand.Type
- All Implemented Interfaces:
- Serializable, Comparable<RehashControlCommand.Type>
- Enclosing class:
- RehashControlCommand
public static enum RehashControlCommand.Type
- extends Enum<RehashControlCommand.Type>
JOIN_REQ
public static final RehashControlCommand.Type JOIN_REQ
JOIN_REHASH_START
public static final RehashControlCommand.Type JOIN_REHASH_START
JOIN_REHASH_END
public static final RehashControlCommand.Type JOIN_REHASH_END
JOIN_COMPLETE
public static final RehashControlCommand.Type JOIN_COMPLETE
JOIN_ABORT
public static final RehashControlCommand.Type JOIN_ABORT
PULL_STATE
public static final RehashControlCommand.Type PULL_STATE
PUSH_STATE
public static final RehashControlCommand.Type PUSH_STATE
DRAIN_TX
public static final RehashControlCommand.Type DRAIN_TX
DRAIN_TX_PREPARES
public static final RehashControlCommand.Type DRAIN_TX_PREPARES
values
public static RehashControlCommand.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 (RehashControlCommand.Type c : RehashControlCommand.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 RehashControlCommand.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 name
NullPointerException
- if the argument is null
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.