Skip navigation links

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

E13083-02


com.timesten.jdbc
Class ClientFailoverEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.timesten.jdbc.ClientFailoverEvent

All Implemented Interfaces:
java.io.Serializable

public class ClientFailoverEvent
extends java.util.EventObject

TimesTen C/S connections support Automatic Client Failover. This class represents events generated during the fail over.

Since:
11.2.1
See Also:
ClientFailoverEventListener, TimesTenConnection, Serialized Form

Nested Class Summary
static class ClientFailoverEvent.FailoverEvent
          Client Failover events
static class ClientFailoverEvent.FailoverType
          Client Failover types

 

Constructor Summary
ClientFailoverEvent(java.lang.Object source, ClientFailoverEvent.FailoverType type, ClientFailoverEvent.FailoverEvent event)
           

 

Method Summary
 ClientFailoverEvent.FailoverEvent getTheFailoverEvent()
          Client Failover events as failover progresses
 ClientFailoverEvent.FailoverType getTheFailoverType()
          Client Failover type such as Connection failover
 java.lang.String toString()
           

 

Methods inherited from class java.util.EventObject
getSource

 

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

 

Constructor Detail

ClientFailoverEvent

public ClientFailoverEvent(java.lang.Object source,
                           ClientFailoverEvent.FailoverType type,
                           ClientFailoverEvent.FailoverEvent event)
Parameters:
source - Affected Connection

Method Detail

getTheFailoverType

public ClientFailoverEvent.FailoverType getTheFailoverType()
Client Failover type such as Connection failover
Returns:
Client Failover type

getTheFailoverEvent

public ClientFailoverEvent.FailoverEvent getTheFailoverEvent()
Client Failover events as failover progresses
Returns:
Client Failover event

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

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.