Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadbalancer-experimental: Rename ConnectionPool* types to ConnectionSelector* #3145

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
small rename
  • Loading branch information
bryce-anderson committed Dec 19, 2024
commit 7cfa90ac08bc02dbb2d7be8d3cd30b7096c1d025
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class DefaultLoadBalancerBuilder<ResolvedAddress, C extends LoadBalancedCo
@Nullable
private LoadBalancerObserverFactory loadBalancerObserverFactory;
private LoadBalancingPolicy<ResolvedAddress, C> loadBalancingPolicy = defaultLoadBalancingPolicy();
private ConnectionSelectorPolicy<C> connectionSelectorPolicy = defaultConnectionSelectorFactory();
private ConnectionSelectorPolicy<C> connectionSelectorPolicy = defaultConnectionSelectorPolicy();
private OutlierDetectorConfig outlierDetectorConfig = OutlierDetectorConfig.DEFAULT_CONFIG;

// package private constructor so users must funnel through providers in `LoadBalancers`
Expand Down Expand Up @@ -188,7 +188,7 @@ LoadBalancingPolicy<ResolvedAddress, C> defaultLoadBalancingPolicy() {
}

private static <C extends LoadBalancedConnection>
ConnectionSelectorPolicy<C> defaultConnectionSelectorFactory() {
ConnectionSelectorPolicy<C> defaultConnectionSelectorPolicy() {
return ConnectionSelectorPolicies.linearSearch();
}
}
Loading