code: private ConnectionPool getPoolUsingPolicy()
      {
          if (!hostPools.isEmpty())
          {
              return (ConnectionPool) loadBalancingPolicy.getPool(hostPools.values());
          }
          throw new KunderaException("All hosts are down. please check servers manully.");
      }
docs: Gets the pool using policy.
  
  @return pool an the basis of LoadBalancing policy.