Uses of Interface
org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier
Packages that use ServiceInstanceListSupplier
Package
Description
Spring Cloud load balancer core abstractions.
-
Uses of ServiceInstanceListSupplier in org.springframework.cloud.loadbalancer.annotation
Methods in org.springframework.cloud.loadbalancer.annotation that return ServiceInstanceListSupplierModifier and TypeMethodDescriptionLoadBalancerClientConfiguration.BlockingSupportConfiguration.blockingApiVersionServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingSupportConfiguration.discoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.discoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingSupportConfiguration.healthCheckDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.healthCheckDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingSupportConfiguration.healthCheckRestClientDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.reactiveApiVersionServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingSupportConfiguration.requestBasedStickySessionDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.requestBasedStickySessionDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) LoadBalancerClientConfiguration.ReactiveRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) LoadBalancerClientConfiguration.BlockingSupportConfiguration.sameInstancePreferenceServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.sameInstancePreferenceServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingSupportConfiguration.subsetServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.subsetServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingSupportConfiguration.weightedServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.weightedServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.BlockingSupportConfiguration.zonePreferenceDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) LoadBalancerClientConfiguration.ReactiveSupportConfiguration.zonePreferenceDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) Methods in org.springframework.cloud.loadbalancer.annotation with parameters of type ServiceInstanceListSupplierModifier and TypeMethodDescriptionLoadBalancerClientConfiguration.BlockingRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) LoadBalancerClientConfiguration.ReactiveRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) -
Uses of ServiceInstanceListSupplier in org.springframework.cloud.loadbalancer.core
Classes in org.springframework.cloud.loadbalancer.core that implement ServiceInstanceListSupplierModifier and TypeClassDescriptionclassA blocking version of aServiceInstanceListSupplierthat filters service instances based on the API version specified in the request.classAServiceInstanceListSupplierimplementation that tries retrievingServiceInstanceobjects from cache; if none found, retrieves instances usingDiscoveryClientServiceInstanceListSupplier.classRepresents aServiceInstanceListSupplierthat uses a delegateServiceInstanceListSupplierinstance underneath.classA discovery-client-basedServiceInstanceListSupplierimplementation.classAServiceInstanceListSupplierimplementation that verifies whether the instances are alive and only returns the healthy one, unless there are none.classAServiceInstanceListSupplierimplementation that uses hints to filter service instances provided by the delegate.classA no-op implementation ofServiceInstanceListSupplier.classA reactive version of theServiceInstanceListSupplierthat filters service instances based on the API version specified in the request.classA session cookie based implementation ofServiceInstanceListSupplierthat gives preference to the instance with an id specified in a request cookie.classAServiceInstanceListSupplierimplementation that avoids picking the same service instance while retrying requests.classAn implementation ofServiceInstanceListSupplierthat selects the previously chosen instance if it's available.classAServiceInstanceListSupplierimplementation that uses deterministic subsetting algorithm to limit the number of instances provided by delegate.classAServiceInstanceListSupplierimplementation that uses weights to expand the instances provided by delegate.classAn implementation ofServiceInstanceListSupplierthat filters instances retrieved by the delegate by zone.Subinterfaces with type arguments of type ServiceInstanceListSupplier in org.springframework.cloud.loadbalancer.coreModifier and TypeInterfaceDescriptionstatic interfaceAllows creating aServiceInstanceListSupplierinstance based on providedConfigurableApplicationContext.static interfaceAllows creating aServiceInstanceListSupplierinstance based on providedConfigurableApplicationContextand anotherServiceInstanceListSupplierinstance that will be used as a delegate.static interfaceAllows creating aServiceInstanceListSupplierinstance based on providedConfigurableApplicationContextand anotherServiceInstanceListSupplierinstance that will be used as a delegate.Fields in org.springframework.cloud.loadbalancer.core declared as ServiceInstanceListSupplierModifier and TypeFieldDescriptionprotected final ServiceInstanceListSupplierDelegatingServiceInstanceListSupplier.delegateMethods in org.springframework.cloud.loadbalancer.core that return ServiceInstanceListSupplierModifier and TypeMethodDescriptionServiceInstanceListSupplierBuilder.build(org.springframework.context.ConfigurableApplicationContext context) Builds theServiceInstanceListSupplierhierarchy.DelegatingServiceInstanceListSupplier.getDelegate()Methods in org.springframework.cloud.loadbalancer.core with parameters of type ServiceInstanceListSupplierModifier and TypeMethodDescriptionServiceInstanceListSupplierBuilder.withBase(ServiceInstanceListSupplier supplier) Sets a user-providedServiceInstanceListSupplieras a baseServiceInstanceListSupplierin the hierarchy.Constructors in org.springframework.cloud.loadbalancer.core with parameters of type ServiceInstanceListSupplierModifierConstructorDescriptionBlockingApiVersionServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerClientFactory loadBalancerClientFactory) CachingServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.cache.CacheManager cacheManager) HealthCheckServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> loadBalancerClientFactory, BiFunction<org.springframework.cloud.client.ServiceInstance, String, reactor.core.publisher.Mono<Boolean>> aliveFunction) HintBasedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> factory) ReactiveApiVersionServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerClientFactory loadBalancerClientFactory) RequestBasedStickySessionServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> loadBalancerClientFactory) SameInstancePreferenceServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> loadBalancerClientFactory) SubsetServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.core.env.PropertyResolver resolver, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> factory) WeightedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> loadBalancerClientFactory) WeightedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, WeightFunction weightFunction) WeightedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, WeightFunction weightFunction, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> loadBalancerClientFactory) ZonePreferenceServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerZoneConfig zoneConfig) ZonePreferenceServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerZoneConfig zoneConfig, org.springframework.cloud.client.loadbalancer.reactive.ReactiveLoadBalancer.Factory<org.springframework.cloud.client.ServiceInstance> loadBalancerClientFactory) Constructor parameters in org.springframework.cloud.loadbalancer.core with type arguments of type ServiceInstanceListSupplierModifierConstructorDescriptionRandomLoadBalancer(org.springframework.beans.factory.ObjectProvider<ServiceInstanceListSupplier> serviceInstanceListSupplierProvider, String serviceId) RoundRobinLoadBalancer(org.springframework.beans.factory.ObjectProvider<ServiceInstanceListSupplier> serviceInstanceListSupplierProvider, String serviceId) RoundRobinLoadBalancer(org.springframework.beans.factory.ObjectProvider<ServiceInstanceListSupplier> serviceInstanceListSupplierProvider, String serviceId, int seedPosition) -
Uses of ServiceInstanceListSupplier in org.springframework.cloud.loadbalancer.support
Methods in org.springframework.cloud.loadbalancer.support that return ServiceInstanceListSupplierModifier and TypeMethodDescriptionstatic ServiceInstanceListSupplierServiceInstanceListSuppliers.from(String serviceId, org.springframework.cloud.client.ServiceInstance... instances) Methods in org.springframework.cloud.loadbalancer.support that return types with arguments of type ServiceInstanceListSupplierModifier and TypeMethodDescriptionstatic org.springframework.beans.factory.ObjectProvider<ServiceInstanceListSupplier> ServiceInstanceListSuppliers.toProvider(String serviceId, org.springframework.cloud.client.ServiceInstance... instances)