Package io.servicetalk.loadbalancer
Interface RoundRobinLoadBalancerBuilderProvider
Deprecated.
Provider for
RoundRobinLoadBalancerBuilder that can be registered using ServiceLoader.-
Method Summary
Modifier and TypeMethodDescription<ResolvedAddress,C extends LoadBalancedConnection>
RoundRobinLoadBalancerBuilder<ResolvedAddress,C> newBuilder(String id, RoundRobinLoadBalancerBuilder<ResolvedAddress, C> builder) Deprecated.Returns aRoundRobinLoadBalancerBuilderbased on the pre-initializedRoundRobinLoadBalancerBuilder.
-
Method Details
-
newBuilder
<ResolvedAddress,C extends LoadBalancedConnection> RoundRobinLoadBalancerBuilder<ResolvedAddress,C> newBuilder(String id, RoundRobinLoadBalancerBuilder<ResolvedAddress, C> builder) Deprecated.Returns aRoundRobinLoadBalancerBuilderbased on the pre-initializedRoundRobinLoadBalancerBuilder.This method may return the pre-initialized
builderas-is, or apply custom builder settings before returning it, or wrap it (DelegatingRoundRobinLoadBalancerBuildermay be helpful).- Type Parameters:
ResolvedAddress- The resolved address type.C- The type of connection.- Parameters:
id- a (unique) identifier used to identify the underlyingRoundRobinLoadBalancer.builder- pre-initializedRoundRobinLoadBalancerBuilder.- Returns:
- a
RoundRobinLoadBalancerBuilderbased on the pre-initializedRoundRobinLoadBalancerBuilder.
-
LoadBalancerBuilderimplementations along withLoadBalancerBuilderProvider