Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
E
F
G
H
L
M
N
O
R
S
T
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.
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.
LoadFactor
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(String)
- Method in class org.ow2.carol.cmi.lb.util.
LBPolicyFactory
Returns a pure policy to access to the object with the given name.
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
findProperties(Class<? extends ILBPolicy>)
- Static method in class org.ow2.carol.cmi.lb.util.
LBPolicyFactory
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
G
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.
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
getPolicyClassname()
- Method in class org.ow2.carol.cmi.lb.policy.
HASingletonPolicy
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(String)
- Static method in class org.ow2.carol.cmi.lb.util.
LBPolicyFactory
getPropertyRawType(String, String)
- Static method in class org.ow2.carol.cmi.lb.util.
LBPolicyFactory
getPropertyType(String, 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.
getStrategy()
- Method in class org.ow2.carol.cmi.lb.policy.
HASingletonPolicy
getStrategyType()
- Method in class org.ow2.carol.cmi.lb.data.
LBPolicyData
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
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
LBPropertyData(String, Class<? extends ILBPolicy>)
- Constructor for class org.ow2.carol.cmi.lb.data.
LBPropertyData
LBPropertyData(Method, Class<? extends ILBPolicy>)
- Constructor for class org.ow2.carol.cmi.lb.data.
LBPropertyData
LoadFactor
- Class in
org.ow2.carol.cmi.lb.strategy
Defines a strategy that order the list of servers with the load-factor.
LoadFactor(ClusterViewManager)
- Constructor for class org.ow2.carol.cmi.lb.strategy.
LoadFactor
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)
- Static method in class org.ow2.carol.cmi.lb.decision.
DecisionUtil
Checks if the distributor must fail over depending of the exception.
mustFailoverOnLookup(Throwable)
- 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.
FirstAvailablePolicy
Returns a decision when an exception is thrown during an invocation for a given load-balanceable.
onInvokeException(Method, Object[], CMIReference, Throwable)
- Method in class org.ow2.carol.cmi.lb.policy.
HASingletonPolicy
Returns a decision when an exception is thrown during an invocation for a given reference.
onInvokeException(Method, Object[], T, Throwable)
- Method in class org.ow2.carol.cmi.lb.policy.
RandomPolicy
Returns a decision when an exception is thrown during an invocation for a given load-balanceable.
onInvokeException(Method, Object[], T, Throwable)
- Method in class org.ow2.carol.cmi.lb.policy.
RoundRobinPolicy
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.
FirstAvailablePolicy
Returns a decision when an exception is thrown during an access to a registry for a given load-balanceable.
onLookupException(CMIReference, Throwable)
- Method in class org.ow2.carol.cmi.lb.policy.
HASingletonPolicy
Returns a decision when an exception is thrown during an access to a registry for a given reference.
onLookupException(T, Throwable)
- Method in class org.ow2.carol.cmi.lb.policy.
RandomPolicy
Returns a decision when an exception is thrown during an access to a registry for a given load-balanceable.
onLookupException(T, Throwable)
- Method in class org.ow2.carol.cmi.lb.policy.
RoundRobinPolicy
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.
FirstAvailablePolicy
Returns a decision when the invocation of a remote method ends.
onReturn(Method, Object[], CMIReference, ReturnType)
- Method in class org.ow2.carol.cmi.lb.policy.
HASingletonPolicy
Returns a decision when the invocation of a remote method ends.
onReturn(Method, Object[], T, ReturnType)
- Method in class org.ow2.carol.cmi.lb.policy.
RandomPolicy
Returns a decision when the invocation of a remote method ends.
onReturn(Method, Object[], T, ReturnType)
- Method in class org.ow2.carol.cmi.lb.policy.
RoundRobinPolicy
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
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 a default load-balancing policy (the Round Robin policy).
S
setPolicyClassname(String)
- Method in class org.ow2.carol.cmi.lb.policy.
HASingletonPolicy
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).
setProperties(ILBPolicy<?>, Map<String, Object>)
- Static method in class org.ow2.carol.cmi.lb.util.
LBPolicyFactory
Sets properties for a given policy.
setProperty(String, Object)
- Method in class org.ow2.carol.cmi.lb.data.
LBPolicyData
Adds a property to the policy.
setProperty(ILBPolicy<?>, String, Object)
- Static method in class org.ow2.carol.cmi.lb.util.
LBPolicyFactory
Set a property for a given 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.
setStrategy(ILBStrategy<T>)
- Method in class org.ow2.carol.cmi.lb.policy.
FirstAvailablePolicy
Sets a strategy to modify the behavior of this policy.
setStrategy(ILBStrategy<CMIReference>)
- Method in class org.ow2.carol.cmi.lb.policy.
HASingletonPolicy
Sets a strategy to modify the behavior of this policy.
setStrategy(ILBStrategy<T>)
- Method in class org.ow2.carol.cmi.lb.policy.
RandomPolicy
Sets a strategy to modify the behavior of this policy.
setStrategy(ILBStrategy<T>)
- Method in class org.ow2.carol.cmi.lb.policy.
RoundRobinPolicy
Sets a strategy to modify the behavior of this policy.
setStrategyType(String)
- Method in class org.ow2.carol.cmi.lb.data.
LBPolicyData
Sets the type of strategy.
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.
LoadFactor
toString()
- Method in class org.ow2.carol.cmi.lb.strategy.
LocalPreference
toString()
- Method in class org.ow2.carol.cmi.lb.strategy.
NoStrategy
B
C
D
E
F
G
H
L
M
N
O
R
S
T
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2007
OW2 Consortium
. All Rights Reserved.