voldemort.utils
Enum ConsistencyFix.Status

java.lang.Object
  extended by java.lang.Enum<ConsistencyFix.Status>
      extended by voldemort.utils.ConsistencyFix.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConsistencyFix.Status>
Enclosing class:
ConsistencyFix

public static enum ConsistencyFix.Status
extends java.lang.Enum<ConsistencyFix.Status>

Status of the repair of a specific "bad key"


Enum Constant Summary
BAD_INIT
           
FETCH_EXCEPTION
           
REPAIR_EXCEPTION
           
SUCCESS
           
 
Method Summary
 java.lang.String toString()
           
static ConsistencyFix.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConsistencyFix.Status[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final ConsistencyFix.Status SUCCESS

BAD_INIT

public static final ConsistencyFix.Status BAD_INIT

FETCH_EXCEPTION

public static final ConsistencyFix.Status FETCH_EXCEPTION

REPAIR_EXCEPTION

public static final ConsistencyFix.Status REPAIR_EXCEPTION
Method Detail

values

public static ConsistencyFix.Status[] 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 (ConsistencyFix.Status c : ConsistencyFix.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConsistencyFix.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ConsistencyFix.Status>


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu