org.apache.accumulo.fate
Enum ReadOnlyTStore.TStatus

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

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

Possible operational status codes. Serialized by name within stores.


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
          Unrecognized or unknown transaction state
 
Method Summary
static ReadOnlyTStore.TStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReadOnlyTStore.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 ReadOnlyTStore.TStatus NEW
Unseeded transaction


IN_PROGRESS

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


FAILED_IN_PROGRESS

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


FAILED

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


SUCCESSFUL

public static final ReadOnlyTStore.TStatus SUCCESSFUL
Transaction has succeeded


UNKNOWN

public static final ReadOnlyTStore.TStatus UNKNOWN
Unrecognized or unknown transaction state

Method Detail

values

public static ReadOnlyTStore.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 (ReadOnlyTStore.TStatus c : ReadOnlyTStore.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 ReadOnlyTStore.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 © 2015 Apache Accumulo Project. All rights reserved.