- All Implemented Interfaces:
- LocatorSelectionStrategyFactory
public class EvenDistributionSelectionStrategyFactory
extends Object
implements LocatorSelectionStrategyFactory
Creates an EvenDistributionSelectionStrategy instance, which
performs a client side round robin strategy.
In case of a fail over all strategies are equivalent.
A random alternative endpoint is selected.
If multiple clients use EvenDistributionSelectionStrategy it
could happen that all clients choose subsequently the same endpoints since the locator
instances for each client operate independently. RandomSelectionStrategy avoids this
problem.