org.jboss.messaging.core.impl
Class FailoverWaiter

java.lang.Object
  extended by org.jboss.messaging.core.impl.FailoverWaiter
All Implemented Interfaces:
ClusterNotificationListener

public class FailoverWaiter
extends java.lang.Object
implements ClusterNotificationListener

Version:
$Revision: $22 Jun 2007 $Id: $
Author:
Tim Fox

Constructor Summary
FailoverWaiter(int nodeID, long failoverStartTimeout, long failoverCompleteTimeout, TransactionRepository txRepository)
           
 
Method Summary
 void notify(ClusterNotification notification)
           
 int waitForFailover(int failedNodeID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailoverWaiter

public FailoverWaiter(int nodeID,
                      long failoverStartTimeout,
                      long failoverCompleteTimeout,
                      TransactionRepository txRepository)
Method Detail

waitForFailover

public int waitForFailover(int failedNodeID)
                    throws java.lang.Exception
Throws:
java.lang.Exception

notify

public void notify(ClusterNotification notification)
Specified by:
notify in interface ClusterNotificationListener


Copyright © 2006 JBoss Inc. All Rights Reserved.