org.apache.accumulo.server.fate
Enum TStore.TStatus

java.lang.Object
  extended by java.lang.Enum<TStore.TStatus>
      extended by org.apache.accumulo.server.fate.TStore.TStatus
All Implemented Interfaces:
Serializable, Comparable<TStore.TStatus>
Enclosing interface:
TStore<T>

public static enum TStore.TStatus
extends Enum<TStore.TStatus>


Enum Constant Summary
FAILED
          Transaction has failed and has been fully rolled back
FAILED_IN_PROGRESS
          Transaction has failed, and is in the process of being rolled back
IN_PROGRESS
          Transaction is eligible to be executing
NEW
          Unseeded transaction
SUCCESSFUL
          Transaction has succeeded
UNKNOWN
           
 
Method Summary
static TStore.TStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TStore.TStatus[] 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

NEW

public static final TStore.TStatus NEW
Unseeded transaction


IN_PROGRESS

public static final TStore.TStatus IN_PROGRESS
Transaction is eligible to be executing


FAILED_IN_PROGRESS

public static final TStore.TStatus FAILED_IN_PROGRESS
Transaction has failed, and is in the process of being rolled back


FAILED

public static final TStore.TStatus FAILED
Transaction has failed and has been fully rolled back


SUCCESSFUL

public static final TStore.TStatus SUCCESSFUL
Transaction has succeeded


UNKNOWN

public static final TStore.TStatus UNKNOWN
Method Detail

values

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

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

valueOf

public static TStore.TStatus 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 © 2012 The Apache Software Foundation. All Rights Reserved.