Serialized Form


Package org.ow2.carol.cmi.lb.data

Class org.ow2.carol.cmi.lb.data.LBPolicyData extends java.lang.Object implements Serializable

serialVersionUID: 7135811410484151772L

Serialized Fields

policyType

java.lang.String policyType
Type of policy.


properties

java.util.concurrent.ConcurrentHashMap<K,V> properties
Properties for the policy of load-balancing.


dateOfProperties

long dateOfProperties
Date of properties. When no property is used, the date is 0.


strategyType

java.lang.String strategyType
Type of strategy.


Package org.ow2.carol.cmi.lb.policy

Class org.ow2.carol.cmi.lb.policy.FirstAvailablePolicy extends java.lang.Object implements Serializable

serialVersionUID: -2189951403453152654L

Serialized Fields

nodeSelected

org.ow2.carol.cmi.lb.LoadBalanceable nodeSelected
The current elected node.


nodeRandom

java.util.Random nodeRandom
Random numbers.


lbStrategy

org.ow2.carol.cmi.lb.strategy.ILBStrategy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> lbStrategy
A strategy to modify the behavior of this policy.

Class org.ow2.carol.cmi.lb.policy.HASingletonPolicy extends java.lang.Object implements Serializable

serialVersionUID: -3247289458693993608L

Serialized Fields

serverRefs

java.util.List<E> serverRefs
The list of servers that contains the order of selection (index 0 is the first chosen).


lbPolicy

org.ow2.carol.cmi.lb.policy.ILBPolicy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> lbPolicy
A policy to use if no singleton is declared.


lbStrategy

org.ow2.carol.cmi.lb.strategy.ILBStrategy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> lbStrategy

Class org.ow2.carol.cmi.lb.policy.RandomPolicy extends java.lang.Object implements Serializable

serialVersionUID: -1339141265656236119L

Serialized Fields

random

java.util.Random random
Random numbers.


lbStrategy

org.ow2.carol.cmi.lb.strategy.ILBStrategy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> lbStrategy
A strategy to modify the behavior of this policy.

Class org.ow2.carol.cmi.lb.policy.RoundRobinPolicy extends java.lang.Object implements Serializable

serialVersionUID: -4797858448720276586L

Serialized Fields

pointer

int pointer
The pointer to store the last ref.


lbStrategy

org.ow2.carol.cmi.lb.strategy.ILBStrategy<T extends org.ow2.carol.cmi.lb.LoadBalanceable> lbStrategy
A strategy to modify the behavior of this policy.


rand

java.util.Random rand
Random numbers.


Package org.ow2.carol.cmi.lb.strategy

Class org.ow2.carol.cmi.lb.strategy.LoadFactor extends java.lang.Object implements Serializable

serialVersionUID: -7859116721872110483L

Serialized Fields

clusterViewManager

org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager
The manager of the cluster view.

Class org.ow2.carol.cmi.lb.strategy.LocalPreference extends java.lang.Object implements Serializable

serialVersionUID: 166371796058727873L

Serialized Fields

clusterViewManager

org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager
The manager of the cluster view.

Class org.ow2.carol.cmi.lb.strategy.NoStrategy extends java.lang.Object implements Serializable

serialVersionUID: 8548832807332845659L


Package org.ow2.carol.cmi.lb.util

Class org.ow2.carol.cmi.lb.util.LBPolicyFactoryException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 7395320588074100163L



Copyright © 2007 OW2 Consortium. All Rights Reserved.