A B C D E F G H L M N O R S T

A

AbsLBPolicy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> - Class in org.ow2.carol.cmi.lb.policy
Abstract implementation of a ILBPolicy, using the class DecisionUtil to take a decision and the class BasicDecisionManager to execute the decision.
AbsLBPolicy() - Constructor for class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Default constructor.
AbsLBPolicy(ClusterViewManager) - Constructor for class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
 

B

BasicDecisionManager<ReturnType> - Class in org.ow2.carol.cmi.lb.decision
Encapsulates a decision and an eventually returned value.

C

choose(List<T>) - Method in class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Chooses a load-balanceable among the list of load-balanceables.
choose(List<T>) - Method in class org.ow2.carol.cmi.lb.policy.FirstAvailablePolicy
Chooses the first load-balanceable available among the list of load-balanceable.
choose(List<CMIReference>) - Method in class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
Always choose the same server (called singleton) on any client.
choose(List<T>) - Method in class org.ow2.carol.cmi.lb.policy.RandomPolicy
Chooses randomly a load-balanceable among the list of load-balanceables.
choose(List<T>) - Method in class org.ow2.carol.cmi.lb.policy.RoundRobinPolicy
Chooses the next load-balanceable among the list of load-balanceables.
choose(List<CMIReference>) - Method in class org.ow2.carol.cmi.lb.strategy.LoadFactorSort
Returns a list of CMIReference where servers, that have a minimal load factor, have their reference at the begin of the list.
choose(List<CMIReference>) - Method in class org.ow2.carol.cmi.lb.strategy.LocalPreference
Returns a list of CMIReference that references the local servers.
choose(List<T>) - Method in class org.ow2.carol.cmi.lb.strategy.NoStrategy
Returns the same list of load-balanceables.
clone() - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
 
convertString(Class<? extends ILBPolicy>, String, String) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
Converts the given value from String to the given type.
convertString(Type, String) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
 
convertStrings(Class<? extends ILBPolicy>, String, List<String>) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
 
createLBPolicy(Class<? extends ILBPolicy>) - Method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
Returns a pure policy for a given class.

D

DecisionUtil - Class in org.ow2.carol.cmi.lb.decision
Utilities for failover.
doRetry() - Static method in class org.ow2.carol.cmi.lb.decision.BasicDecisionManager
Creates a retry decision.
doReturn(ReturnType) - Static method in class org.ow2.carol.cmi.lb.decision.BasicDecisionManager
Creates a return decision.
doThrow() - Static method in class org.ow2.carol.cmi.lb.decision.BasicDecisionManager
Creates a throw decision.

E

equals(Object) - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
 

F

FirstAvailablePolicy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> - Class in org.ow2.carol.cmi.lb.policy
Implementation of a policy of load-balancing that always favors the first available load-balanceable.
FirstAvailablePolicy() - Constructor for class org.ow2.carol.cmi.lb.policy.FirstAvailablePolicy
Build the first available policy.

G

getClassName() - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Gets class name.
getData() - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Gets Class byte code.
getDateOfProperties() - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
 
getDecision() - Method in class org.ow2.carol.cmi.lb.decision.BasicDecisionManager
 
getGetter() - Method in class org.ow2.carol.cmi.lb.data.LBPropertyData
 
getLBPolicy(String) - Method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
Returns a policy to access to the object with the given name.
getLBPolicy(Class<? extends ILBPolicy>, Class<? extends ILBStrategy>, Map<String, ?>) - Method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
Returns a policy for the given classes of LB policy, strategy and properties.
getLbPolicyClass() - Method in class org.ow2.carol.cmi.lb.data.LBPropertyData
 
getLbPropertyName() - Method in class org.ow2.carol.cmi.lb.data.LBPropertyData
 
getLbPropertyType() - Method in class org.ow2.carol.cmi.lb.data.LBPropertyData
 
getLBStrategy() - Method in class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Return a strategy to modify the behavior of this policy.
getObjectName() - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Gets the name of the object.
getPolicyType() - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
 
getProperties() - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
Returns the value of the property with the given name.
getProperties(ILBPolicy<?>) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
 
getProperty(String) - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
Returns the value of the property with the given name.
getProperty(ILBPolicy<?>, String) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
 
getPropertyData(Class<? extends ILBPolicy>) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
 
getPropertyRawType(Class<? extends ILBPolicy>, String) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
 
getPropertyType(Class<? extends ILBPolicy>, String) - Static method in class org.ow2.carol.cmi.lb.util.LBPolicyFactory
 
getRetVal() - Method in class org.ow2.carol.cmi.lb.decision.BasicDecisionManager
 
getSetter() - Method in class org.ow2.carol.cmi.lb.data.LBPropertyData
 
getSingleton() - Method in class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
 
getSingletons() - Method in class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
Return the order to elect a singleton in the cluster.
getStrategyType() - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
 
getType() - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Gets class type.

H

HASingletonPolicy - Class in org.ow2.carol.cmi.lb.policy
Implementation of a policy of load-balancing that always favors one server in the cluster.
HASingletonPolicy() - Constructor for class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
Construct a new instance of policy ha-singleton with the policy first available as rescue.

L

LBClassWrapper - Class in org.ow2.carol.cmi.lb.data
 
LBClassWrapper() - Constructor for class org.ow2.carol.cmi.lb.data.LBClassWrapper
Default constructor.
LBClassWrapper(String, String, Byte[], String) - Constructor for class org.ow2.carol.cmi.lb.data.LBClassWrapper
Constructor using fields.
LBPolicyData - Class in org.ow2.carol.cmi.lb.data
Contains data for a policy of load-balancing.
LBPolicyData(String, String, Map<String, Object>) - Constructor for class org.ow2.carol.cmi.lb.data.LBPolicyData
Constructs data for load-balancing with the specified policy, strategy and properties.
LBPolicyData(String, String, Map<String, Object>, long) - Constructor for class org.ow2.carol.cmi.lb.data.LBPolicyData
Constructs data for load-balancing with the specified policy, strategy and properties.
LBPolicyFactory<T extends org.ow2.carol.cmi.lb.LoadBalanceable> - Class in org.ow2.carol.cmi.lb.util
Define a factory to construct policies.
LBPolicyFactory(ClusterViewManager) - Constructor for class org.ow2.carol.cmi.lb.util.LBPolicyFactory
Constructs a new factory for policies with a given manager of cluster view.
LBPolicyFactoryException - Exception in org.ow2.carol.cmi.lb.util
RuntimeException thrown if a policy of load-balancing cannot be instanciated.
LBPolicyFactoryException(String) - Constructor for exception org.ow2.carol.cmi.lb.util.LBPolicyFactoryException
Constructs a new runtime exception with the specified detail message.
LBPolicyFactoryException(String, Throwable) - Constructor for exception org.ow2.carol.cmi.lb.util.LBPolicyFactoryException
Constructs a new runtime exception with the specified detail message and cause.
LBPropertyData - Class in org.ow2.carol.cmi.lb.data
Encapsulate data relatives to a property.
LBPropertyData(Method, Class<? extends ILBPolicy>) - Constructor for class org.ow2.carol.cmi.lb.data.LBPropertyData
 
LoadFactorSort - Class in org.ow2.carol.cmi.lb.strategy
Defines a strategy that order the list of servers with the load-factor.
LoadFactorSort(ClusterViewManager) - Constructor for class org.ow2.carol.cmi.lb.strategy.LoadFactorSort
Constructs a strategy for load-factor.
LocalPreference - Class in org.ow2.carol.cmi.lb.strategy
Defines a strategy that enable the local preference.
LocalPreference(ClusterViewManager) - Constructor for class org.ow2.carol.cmi.lb.strategy.LocalPreference
Constructs a strategy for load-factor.

M

mustFailoverOnInvoke(Throwable, ClusterViewManager, LoadBalanceable) - Static method in class org.ow2.carol.cmi.lb.decision.DecisionUtil
Checks if the distributor must fail over depending of the exception.
mustFailoverOnLookup(Throwable, ClusterViewManager, LoadBalanceable) - Static method in class org.ow2.carol.cmi.lb.decision.DecisionUtil
Checks if the distributor must fail over depending of the exception.

N

NoStrategy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> - Class in org.ow2.carol.cmi.lb.strategy
A strategy that does nothing.
NoStrategy() - Constructor for class org.ow2.carol.cmi.lb.strategy.NoStrategy
 

O

onInvokeException(Method, Object[], T, Throwable) - Method in class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Returns a decision when an exception is thrown during an invocation for a given load-balanceable.
onLookupException(T, Throwable) - Method in class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Returns a decision when an exception is thrown during an access to a registry for a given load-balanceable.
onReturn(Method, Object[], T, ReturnType) - Method in class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Returns a decision when the invocation of a remote method ends.
org.ow2.carol.cmi.lb.data - package org.ow2.carol.cmi.lb.data
 
org.ow2.carol.cmi.lb.decision - package org.ow2.carol.cmi.lb.decision
 
org.ow2.carol.cmi.lb.policy - package org.ow2.carol.cmi.lb.policy
 
org.ow2.carol.cmi.lb.strategy - package org.ow2.carol.cmi.lb.strategy
 
org.ow2.carol.cmi.lb.util - package org.ow2.carol.cmi.lb.util
 

R

RandomPolicy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> - Class in org.ow2.carol.cmi.lb.policy
Implementation of a policy of load-balancing that always selects randomly a load-balanceable.
RandomPolicy() - Constructor for class org.ow2.carol.cmi.lb.policy.RandomPolicy
Build the random policy.
RoundRobinPolicy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> - Class in org.ow2.carol.cmi.lb.policy
The default load-balancing policy (Round Robin) that always chooses the next available load-balanceable.
RoundRobinPolicy() - Constructor for class org.ow2.carol.cmi.lb.policy.RoundRobinPolicy
Build the Round Robin policy.

S

setClassName(String) - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Sets class name.
setClusterViewManager(ClusterViewManager) - Method in class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Set the manager of the cluster view.
setData(Byte[]) - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Sets Class byte code.
setLBStrategy(ILBStrategy<T>) - Method in class org.ow2.carol.cmi.lb.policy.AbsLBPolicy
Sets a strategy to modify the behavior of this policy.
setLBStrategy(ILBStrategy<CMIReference>) - Method in class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
Sets a strategy to modify the behavior of the rescue policy.
setObjectName(String) - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Sets object name.
setPolicyType(String) - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
Sets the type of policy.
setProperties(Map<String, Object>) - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
Set new properties to the policy (remove the previous).
setProperty(String, Object) - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
Adds a property to the policy.
setSingleton(String) - Method in class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
Add a server in the list of singleton at the first position (it will be the new master).
setSingletons(List<String>) - Method in class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
Set the order to elect a singleton in the cluster.
setStrategyType(String) - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
Sets the type of strategy.
setType(String) - Method in class org.ow2.carol.cmi.lb.data.LBClassWrapper
Sets class type.

T

toString() - Method in class org.ow2.carol.cmi.lb.data.LBPolicyData
 
toString() - Method in class org.ow2.carol.cmi.lb.policy.FirstAvailablePolicy
 
toString() - Method in class org.ow2.carol.cmi.lb.policy.HASingletonPolicy
 
toString() - Method in class org.ow2.carol.cmi.lb.policy.RandomPolicy
 
toString() - Method in class org.ow2.carol.cmi.lb.policy.RoundRobinPolicy
 
toString() - Method in class org.ow2.carol.cmi.lb.strategy.LoadFactorSort
 
toString() - Method in class org.ow2.carol.cmi.lb.strategy.LocalPreference
 
toString() - Method in class org.ow2.carol.cmi.lb.strategy.NoStrategy
 

A B C D E F G H L M N O R S T

Copyright © 2008 OW2 Consortium. All Rights Reserved.