- All Implemented Interfaces:
- LocatorSelectionStrategyFactory
public class RandomSelectionStrategyFactory
extends Object
implements LocatorSelectionStrategyFactory
Creates a RandomSelectionStrategy instance, which
selects randomly from the available endpoints for each call.
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.