com.bigdata.resources
Enum StaleLocatorReason
java.lang.Object
java.lang.Enum<StaleLocatorReason>
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
Split
public static final StaleLocatorReason Split
Join
public static final StaleLocatorReason Join
Move
public static final StaleLocatorReason Move
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.