code: @Override
      protected void initializeLoadBalancer(String loadBalancingPolicyName)
      {
          if (loadBalancingPolicyName != null)
          {
              switch (LoadBalancer.getValue(loadBalancingPolicyName))
              {
              case ROUNDROBIN:
                  loadBalancingPolicy = new RoundRobinBalancingPolicy();
                  break;
              case LEASTACTIVE:
                  loadBalancingPolicy = new ThriftLeastActiveBalancingPolcy();
                  break;
              default:
                  loadBalancingPolicy = new RoundRobinBalancingPolicy();
                  break;
              }
          }
          loadBalancingPolicy = new RoundRobinBalancingPolicy();
      }
docs: /* (non-Javadoc)
  @see com.impetus.kundera.loader.GenericClientFactory#initializeLoadBalancer(java.lang.String)