Class UniformRandomRouterPolicy

All Implemented Interfaces:
ConfigurableFederationPolicy, FederationRouterPolicy

public class UniformRandomRouterPolicy extends AbstractRouterPolicy
This simple policy picks at uniform random among any of the currently active subclusters. This policy is easy to use and good for testing. NOTE: this is "almost" subsumed by the WeightedRandomRouterPolicy. Behavior only diverges when there are active sub-clusters that are not part of the "weights", in which case the UniformRandomRouterPolicy send load to them, while WeightedRandomRouterPolicy does not.