com.sleepycat.je.rep.impl
Enum RepGroupProtocol.FailReason

java.lang.Object
  extended by java.lang.Enum<RepGroupProtocol.FailReason>
      extended by com.sleepycat.je.rep.impl.RepGroupProtocol.FailReason
All Implemented Interfaces:
Serializable, Comparable<RepGroupProtocol.FailReason>
Enclosing class:
RepGroupProtocol

public static enum RepGroupProtocol.FailReason
extends Enum<RepGroupProtocol.FailReason>


Enum Constant Summary
DEFAULT
           
IS_MASTER
           
MEMBER_NOT_FOUND
           
 
Method Summary
static RepGroupProtocol.FailReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RepGroupProtocol.FailReason[] 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

DEFAULT

public static final RepGroupProtocol.FailReason DEFAULT

MEMBER_NOT_FOUND

public static final RepGroupProtocol.FailReason MEMBER_NOT_FOUND

IS_MASTER

public static final RepGroupProtocol.FailReason IS_MASTER
Method Detail

values

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

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

valueOf

public static RepGroupProtocol.FailReason 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 (c) 2004-2010 Oracle. All rights reserved.