com.sleepycat.je.dbi
Enum EnvironmentFailureReason

java.lang.Object
  extended by java.lang.Enum<EnvironmentFailureReason>
      extended by com.sleepycat.je.dbi.EnvironmentFailureReason
All Implemented Interfaces:
Serializable, Comparable<EnvironmentFailureReason>

public enum EnvironmentFailureReason
extends Enum<EnvironmentFailureReason>

See Also:
EnvironmentFailureException

Enum Constant Summary
ENV_LOCKED
           
ENV_NOT_FOUND
           
HANDSHAKE_ERROR
           
HARD_RECOVERY
           
INSUFFICIENT_LOG
           
JAVA_ERROR
           
LATCH_ALREADY_HELD
           
LATCH_NOT_HELD
           
LISTENER_EXCEPTION
           
LOG_CHECKSUM
           
LOG_FILE_NOT_FOUND
           
LOG_INCOMPLETE
           
LOG_INTEGRITY
           
LOG_READ
           
LOG_WRITE
           
MASTER_TO_REPLICA_TRANSITION
           
MONITOR_REGISTRATION
           
PROTOCOL_VERSION_MISMATCH
           
ROLLBACK_PROHIBITED
           
SHUTDOWN_REQUESTED
           
TEST_INVALIDATE
           
THREAD_INTERRUPTED
           
UNCAUGHT_EXCEPTION
           
UNEXPECTED_EXCEPTION
           
UNEXPECTED_EXCEPTION_FATAL
           
UNEXPECTED_STATE
           
UNEXPECTED_STATE_FATAL
           
VERSION_MISMATCH
           
 
Method Summary
 boolean invalidatesEnvironment()
           
 String toString()
           
static EnvironmentFailureReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnvironmentFailureReason[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ENV_LOCKED

public static final EnvironmentFailureReason ENV_LOCKED

ENV_NOT_FOUND

public static final EnvironmentFailureReason ENV_NOT_FOUND

HANDSHAKE_ERROR

public static final EnvironmentFailureReason HANDSHAKE_ERROR

HARD_RECOVERY

public static final EnvironmentFailureReason HARD_RECOVERY

JAVA_ERROR

public static final EnvironmentFailureReason JAVA_ERROR

LATCH_ALREADY_HELD

public static final EnvironmentFailureReason LATCH_ALREADY_HELD

LATCH_NOT_HELD

public static final EnvironmentFailureReason LATCH_NOT_HELD

LISTENER_EXCEPTION

public static final EnvironmentFailureReason LISTENER_EXCEPTION

LOG_CHECKSUM

public static final EnvironmentFailureReason LOG_CHECKSUM

LOG_FILE_NOT_FOUND

public static final EnvironmentFailureReason LOG_FILE_NOT_FOUND

LOG_INCOMPLETE

public static final EnvironmentFailureReason LOG_INCOMPLETE

LOG_INTEGRITY

public static final EnvironmentFailureReason LOG_INTEGRITY

LOG_READ

public static final EnvironmentFailureReason LOG_READ

INSUFFICIENT_LOG

public static final EnvironmentFailureReason INSUFFICIENT_LOG

LOG_WRITE

public static final EnvironmentFailureReason LOG_WRITE

MASTER_TO_REPLICA_TRANSITION

public static final EnvironmentFailureReason MASTER_TO_REPLICA_TRANSITION

MONITOR_REGISTRATION

public static final EnvironmentFailureReason MONITOR_REGISTRATION

PROTOCOL_VERSION_MISMATCH

public static final EnvironmentFailureReason PROTOCOL_VERSION_MISMATCH

ROLLBACK_PROHIBITED

public static final EnvironmentFailureReason ROLLBACK_PROHIBITED

SHUTDOWN_REQUESTED

public static final EnvironmentFailureReason SHUTDOWN_REQUESTED

TEST_INVALIDATE

public static final EnvironmentFailureReason TEST_INVALIDATE

THREAD_INTERRUPTED

public static final EnvironmentFailureReason THREAD_INTERRUPTED

UNCAUGHT_EXCEPTION

public static final EnvironmentFailureReason UNCAUGHT_EXCEPTION

UNEXPECTED_EXCEPTION

public static final EnvironmentFailureReason UNEXPECTED_EXCEPTION

UNEXPECTED_EXCEPTION_FATAL

public static final EnvironmentFailureReason UNEXPECTED_EXCEPTION_FATAL

UNEXPECTED_STATE

public static final EnvironmentFailureReason UNEXPECTED_STATE

UNEXPECTED_STATE_FATAL

public static final EnvironmentFailureReason UNEXPECTED_STATE_FATAL

VERSION_MISMATCH

public static final EnvironmentFailureReason VERSION_MISMATCH
Method Detail

values

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

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

valueOf

public static EnvironmentFailureReason 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

invalidatesEnvironment

public boolean invalidatesEnvironment()

toString

public String toString()
Overrides:
toString in class Enum<EnvironmentFailureReason>


Copyright (c) 2004-2010 Oracle. All rights reserved.