Class LoadBasedRouterPolicy

All Implemented Interfaces:
ConfigurableFederationPolicy, FederationRouterPolicy

public class LoadBasedRouterPolicy extends AbstractRouterPolicy
This implements a simple load-balancing policy. The policy "weights" are binary 0/1 values that enable/disable each sub-cluster, and the policy peaks the sub-cluster with the least load to forward this application.