Skip navigation links

Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference
Release 11.2.1

E13083-02


com.timesten.jdbc
Enum ClientFailoverEvent.FailoverEvent

java.lang.Object
  extended by java.lang.Enum<ClientFailoverEvent.FailoverEvent>
      extended by com.timesten.jdbc.ClientFailoverEvent.FailoverEvent

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClientFailoverEvent.FailoverEvent>
Enclosing class:
ClientFailoverEvent

public static enum ClientFailoverEvent.FailoverEvent
extends java.lang.Enum<ClientFailoverEvent.FailoverEvent>

Client Failover events

Since:
11.2.1

Enum Constant Summary
ABORT
          Client Failover was aborted
BEGIN
          Client Failover has begun
END
          Client Failover has completed successfully
ERROR
          Client Failover failed
REAUTH
          Client Failover needs to be reauthorized

 

Method Summary
 java.lang.String toString()
           
static ClientFailoverEvent.FailoverEvent valueOf(int ei)
           
static ClientFailoverEvent.FailoverEvent valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClientFailoverEvent.FailoverEvent[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

BEGIN

public static final ClientFailoverEvent.FailoverEvent BEGIN
Client Failover has begun

END

public static final ClientFailoverEvent.FailoverEvent END
Client Failover has completed successfully

ABORT

public static final ClientFailoverEvent.FailoverEvent ABORT
Client Failover was aborted

REAUTH

public static final ClientFailoverEvent.FailoverEvent REAUTH
Client Failover needs to be reauthorized

ERROR

public static final ClientFailoverEvent.FailoverEvent ERROR
Client Failover failed

Method Detail

values

public static ClientFailoverEvent.FailoverEvent[] 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 (ClientFailoverEvent.FailoverEvent c : ClientFailoverEvent.FailoverEvent.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ClientFailoverEvent.FailoverEvent valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

valueOf

public static ClientFailoverEvent.FailoverEvent valueOf(int ei)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ClientFailoverEvent.FailoverEvent>

Skip navigation links

Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference
Release 11.2.1

E13083-02


Copyright © 1999, 2010, Oracle and/or its affiliates. All rights reserved.