org.ow2.carol.cmi.lb.decision
Class DecisionUtil

java.lang.Object
  extended by org.ow2.carol.cmi.lb.decision.DecisionUtil

@Immutable
public final class DecisionUtil
extends java.lang.Object

Utilities for failover.

Author:
The new CMI team

Method Summary
static boolean mustFailoverOnInvoke(java.lang.Throwable ex)
          Checks if the distributor must fail over depending of the exception.
static boolean mustFailoverOnLookup(java.lang.Throwable ex)
          Checks if the distributor must fail over depending of the exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mustFailoverOnInvoke

public static boolean mustFailoverOnInvoke(java.lang.Throwable ex)
Checks if the distributor must fail over depending of the exception.

Parameters:
ex - The exception to check
Returns:
true if the distributor must fail over

mustFailoverOnLookup

public static boolean mustFailoverOnLookup(java.lang.Throwable ex)
Checks if the distributor must fail over depending of the exception.

Parameters:
ex - The exception to check
Returns:
true if the distributor must fail over


Copyright © 2007 OW2 Consortium. All Rights Reserved.