org.infinispan.commands.control
Enum RehashControlCommand.Type

java.lang.Object
  extended by java.lang.Enum<RehashControlCommand.Type>
      extended by 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>


Enum Constant Summary
DRAIN_TX
           
DRAIN_TX_PREPARES
           
JOIN_ABORT
           
JOIN_COMPLETE
           
JOIN_REHASH_END
           
JOIN_REHASH_START
           
JOIN_REQ
           
PULL_STATE
           
PUSH_STATE
           
 
Method Summary
static RehashControlCommand.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RehashControlCommand.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.