@Test public void testLogicalName() { assertEquals("logicalName should be same as module name", MODULE_NAME, targetProvider.getTargetLogicalName()); }
@Override public String getTargetLogicalName() { return healthyTargetsList.getModule(); }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String getTargetLogicalName() { return healthyTargetsList.getModule(); } }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String getTargetLogicalName() { return healthyTargetsList.getModule(); } ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight);  ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight, final LoadBalancer loadBalancer); }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String getTargetLogicalName() { return healthyTargetsList.getModule(); } ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight);  ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight, final LoadBalancer loadBalancer); @Override String getTargetLogicalName(); @Override String provideTarget(); @Override List<String> provideTargets(final int targetsNum); @Override void onTargetsChanged(final List<HealthInfoInstance> healthTargets); @Override void targetDispatched(final String target); @Override void targetDispatchEnded(final String target, final boolean success, final long startTimeNanos); }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String getTargetLogicalName() { return healthyTargetsList.getModule(); } ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight);  ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight, final LoadBalancer loadBalancer); @Override String getTargetLogicalName(); @Override String provideTarget(); @Override List<String> provideTargets(final int targetsNum); @Override void onTargetsChanged(final List<HealthInfoInstance> healthTargets); @Override void targetDispatched(final String target); @Override void targetDispatchEnded(final String target, final boolean success, final long startTimeNanos);  }