@Test public void canUseToString() { DynamicWeightedRoundRobinLoadBalancer loadBalancer = new DynamicWeightedRoundRobinLoadBalancer(new DynamicLoadBalancerConfiguration()); String answer = loadBalancer.toString(); Assert.assertNotNull(answer); Assert.assertTrue(answer.contains("config")); }
@Override public String toString() { return new ToStringBuilder(this) .append("config", config) .toString(); }
DynamicWeightedRoundRobinLoadBalancer extends WeightedRoundRobinLoadBalancer { @Override public String toString() { return new ToStringBuilder(this) .append("config", config) .toString(); } }
DynamicWeightedRoundRobinLoadBalancer extends WeightedRoundRobinLoadBalancer { @Override public String toString() { return new ToStringBuilder(this) .append("config", config) .toString(); } DynamicWeightedRoundRobinLoadBalancer(DynamicLoadBalancerConfiguration config); }
DynamicWeightedRoundRobinLoadBalancer extends WeightedRoundRobinLoadBalancer { @Override public String toString() { return new ToStringBuilder(this) .append("config", config) .toString(); } DynamicWeightedRoundRobinLoadBalancer(DynamicLoadBalancerConfiguration config); @Override String toString(); }
DynamicWeightedRoundRobinLoadBalancer extends WeightedRoundRobinLoadBalancer { @Override public String toString() { return new ToStringBuilder(this) .append("config", config) .toString(); } DynamicWeightedRoundRobinLoadBalancer(DynamicLoadBalancerConfiguration config); @Override String toString();  }