org.apache.qpid.client.failover
Class FailoverState

java.lang.Object
  extended by org.apache.qpid.client.failover.FailoverState

public final class FailoverState
extends Object

Defines the possible states of the failover process; not started, in progress, failed.

CRC Card
Responsibilities Collaborations
Represent a one of the states of the fail-over process.


Field Summary
static FailoverState FAILED
          Failover has been attempted and failed.
static FailoverState IN_PROGRESS
          Failover has been requested on this connection but has not completed.
static FailoverState NOT_STARTED
          Failover has not yet been attempted on this connection.
 
Method Summary
 String toString()
          Prints this state, mainly for debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NOT_STARTED

public static final FailoverState NOT_STARTED
Failover has not yet been attempted on this connection.


IN_PROGRESS

public static final FailoverState IN_PROGRESS
Failover has been requested on this connection but has not completed.


FAILED

public static final FailoverState FAILED
Failover has been attempted and failed.

Method Detail

toString

public String toString()
Prints this state, mainly for debugging purposes.

Overrides:
toString in class Object
Returns:
The string description of this state.


Licensed to the Apache Software Foundation