com.bigdata.resources
Enum StaleLocatorReason

java.lang.Object
  extended by java.lang.Enum<StaleLocatorReason>
      extended by com.bigdata.resources.StaleLocatorReason
All Implemented Interfaces:
Serializable, Comparable<StaleLocatorReason>

public enum StaleLocatorReason
extends Enum<StaleLocatorReason>

Typesafe enumeration of the possible reasons why an index partition locator is stale.

Version:
$Id: StaleLocatorReason.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
StaleLocatorException

Enum Constant Summary
Join
           
Move
           
Split
           
 
Method Summary
static StaleLocatorReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StaleLocatorReason[] 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

Split

public static final StaleLocatorReason Split

Join

public static final StaleLocatorReason Join

Move

public static final StaleLocatorReason Move
Method Detail

values

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

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

valueOf

public static StaleLocatorReason 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 © 2006-2011 SYSTAP, LLC. All Rights Reserved.