org.apache.qpid.client.failover
Class FailoverState

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

public final class FailoverState
extends java.lang.Object

Enumeration of failover states. Used to handle failover from within AMQProtocolHandler where MINA events need to be dealt with and can happen during failover.


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
 java.lang.String toString()
           
 
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 java.lang.String toString()
Overrides:
toString in class java.lang.Object