diff --git a/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/DelegatingRoundRobinLoadBalancerBuilder.java b/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/DelegatingRoundRobinLoadBalancerBuilder.java index 6bfd54412e..d019de81ed 100644 --- a/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/DelegatingRoundRobinLoadBalancerBuilder.java +++ b/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/DelegatingRoundRobinLoadBalancerBuilder.java @@ -28,7 +28,9 @@ * * @param The resolved address type. * @param The type of connection. + * @deprecated use {@link DelegatingLoadBalancerBuilder} instead. */ +@Deprecated // FIXME: 0.43 - Remove in favor of the DefaultLoadBalancer types public class DelegatingRoundRobinLoadBalancerBuilder implements RoundRobinLoadBalancerBuilder { diff --git a/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/RoundRobinLoadBalancerFactory.java b/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/RoundRobinLoadBalancerFactory.java index 7cacc99bb5..395e1a3e2a 100644 --- a/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/RoundRobinLoadBalancerFactory.java +++ b/servicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/RoundRobinLoadBalancerFactory.java @@ -48,7 +48,7 @@ * * @param The resolved address type. * @param The type of connection. - * @deprecated this class will be made package-private in the future, use {@link RoundRobinLoadBalancers} to create + * @deprecated use {@link LoadBalancers} to create {@link LoadBalancerFactory} instances. * {@link RoundRobinLoadBalancerBuilder}. */ @Deprecated // FIXME: 0.43 - remove in favor of DefaultLoadBalancer types. @@ -107,10 +107,9 @@ public String toString() { * * @param The resolved address type. * @param The type of connection. - * @deprecated this class will be made package-private in the future, rely on the - * {@link RoundRobinLoadBalancerBuilder} instead. + * @deprecated rely on the {@link LoadBalancerBuilder} instead. */ - @Deprecated // FIXME: 0.43 - Remove in favor of the DefaultLoadBalancer types. + @Deprecated // FIXME: 0.43 - Remove in favor of the DefaultLoadBalancer types public static final class Builder implements RoundRobinLoadBalancerBuilder { private final String id; @@ -126,9 +125,9 @@ public static final class Builder