org.apache.synapse.endpoints.algorithms |
|
Java Source File Name | Type | Comment |
AlgorithmContext.java | Class | Keeps the states of the load balance algorithm.This hides where those states are kept.For a
cluster environment ,all states are kept in the axis2 configuration context in order to replicate
those states so that other synapse instance in the same cluster can see those changes .
This class can be evolved to keep any run time states related to the endpoint .
For a non-clustered environment , all data are kept locally.
This class provide the abstraction need to separate the dynamic data from the static data
and improve the high cohesion and provides capability to replicate only required state at
a given time. |
LoadbalanceAlgorithm.java | Interface | All load balance algorithms must implement this interface. |
RoundRobin.java | Class | This is the implementation of the round robin load balancing algorithm. |