|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.carol.cmi.lb.decision.DecisionUtil
@Immutable public final class DecisionUtil
Utilities for failover.
| Method Summary | |
|---|---|
static boolean |
mustFailoverOnInvoke(java.lang.Throwable ex,
org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager,
org.ow2.carol.cmi.lb.LoadBalanceable loadBalanceable)
Checks if the distributor must fail over depending of the exception. |
static boolean |
mustFailoverOnLookup(java.lang.Throwable ex,
org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager,
org.ow2.carol.cmi.lb.LoadBalanceable loadBalanceable)
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 |
|---|
public static boolean mustFailoverOnInvoke(java.lang.Throwable ex,
org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager,
org.ow2.carol.cmi.lb.LoadBalanceable loadBalanceable)
ex - The exception to checkclusterViewManager - a manager of the cluster viewloadBalanceable - a reference on a clustered object
public static boolean mustFailoverOnLookup(java.lang.Throwable ex,
org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager,
org.ow2.carol.cmi.lb.LoadBalanceable loadBalanceable)
ex - The exception to checkclusterViewManager - a manager of the cluster viewloadBalanceable - a reference on a clustered object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||