com.bigdata.mdi
Enum IndexPartitionCause.CauseEnum

java.lang.Object
  extended by java.lang.Enum<IndexPartitionCause.CauseEnum>
      extended by com.bigdata.mdi.IndexPartitionCause.CauseEnum
All Implemented Interfaces:
Serializable, Comparable<IndexPartitionCause.CauseEnum>
Enclosing class:
IndexPartitionCause

public static enum IndexPartitionCause.CauseEnum
extends Enum<IndexPartitionCause.CauseEnum>

Typesafe enumeration of reasons why an index partition was created.

Version:
$Id: IndexPartitionCause.java 3305 2010-07-27 15:08:28Z thompsonbry $
Author:
Bryan Thompson

Enum Constant Summary
Join
          Two or more index partitions were joined.
Move
          An index partition was moved to another data service.
Register
          The initial registration of a scale-out index.
Split
          An index partition was split.
 
Method Summary
static IndexPartitionCause.CauseEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IndexPartitionCause.CauseEnum[] 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

Register

public static final IndexPartitionCause.CauseEnum Register
The initial registration of a scale-out index.


Split

public static final IndexPartitionCause.CauseEnum Split
An index partition was split.


Join

public static final IndexPartitionCause.CauseEnum Join
Two or more index partitions were joined.


Move

public static final IndexPartitionCause.CauseEnum Move
An index partition was moved to another data service.

Method Detail

values

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

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

valueOf

public static IndexPartitionCause.CauseEnum 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.