Skip navigation links

Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference
11g Release 2 (11.2.2)

E21647-03


com.timesten.jdbc
Enum ClientFailoverEvent.FailoverType

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

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

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

Client Failover types

Since:
11.2.1

Enum Constant Summary
TT_FO_CONNECTION
          Connection fail over

 

Method Summary
 java.lang.String toString()
           
static ClientFailoverEvent.FailoverType valueOf(int ti)
           
static ClientFailoverEvent.FailoverType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClientFailoverEvent.FailoverType[] 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

TT_FO_CONNECTION

public static final ClientFailoverEvent.FailoverType TT_FO_CONNECTION
Connection fail over

Method Detail

values

public static ClientFailoverEvent.FailoverType[] 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.FailoverType c : ClientFailoverEvent.FailoverType.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.FailoverType 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.FailoverType valueOf(int ti)

toString

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

Skip navigation links

Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference
11g Release 2 (11.2.2)

E21647-03


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