Uses of Interface
org.springframework.cloud.loadbalancer.core.WeightFunction
Packages that use WeightFunction
Package
Description
Spring Cloud load balancer core abstractions.
-
Uses of WeightFunction in org.springframework.cloud.loadbalancer.core
Methods in org.springframework.cloud.loadbalancer.core with parameters of type WeightFunctionModifier and TypeMethodDescriptionServiceInstanceListSupplierBuilder.withWeighted(WeightFunction weightFunction) Adds aWeightedServiceInstanceListSupplierthat uses user-providedWeightFunctioninstance to theServiceInstanceListSupplierhierarchy.Constructors in org.springframework.cloud.loadbalancer.core with parameters of type WeightFunctionModifierConstructorDescriptionWeightedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, WeightFunction weightFunction) WeightedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, WeightFunction weightFunction, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> loadBalancerClientFactory)