Modifier and Type | Method and Description |
---|---|
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.ReactiveSupportConfiguration.discoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.BlockingSupportConfiguration.discoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.ReactiveSupportConfiguration.healthCheckDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.BlockingSupportConfiguration.healthCheckDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.ReactiveSupportConfiguration.requestBasedStickySessionDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.BlockingSupportConfiguration.requestBasedStickySessionDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.BlockingRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.ReactiveRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.ReactiveSupportConfiguration.sameInstancePreferenceServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.BlockingSupportConfiguration.sameInstancePreferenceServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.ReactiveSupportConfiguration.zonePreferenceDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.BlockingSupportConfiguration.zonePreferenceDiscoveryClientServiceInstanceListSupplier(org.springframework.context.ConfigurableApplicationContext context) |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.BlockingRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) |
ServiceInstanceListSupplier |
LoadBalancerClientConfiguration.ReactiveRetryConfiguration.retryAwareDiscoveryClientServiceInstanceListSupplier(ServiceInstanceListSupplier delegate) |
Modifier and Type | Class and Description |
---|---|
class |
CachingServiceInstanceListSupplier
A
ServiceInstanceListSupplier implementation that tries retrieving
ServiceInstance objects from cache; if none found, retrieves instances using
DiscoveryClientServiceInstanceListSupplier . |
class |
DelegatingServiceInstanceListSupplier
Represents a
ServiceInstanceListSupplier that uses a delegate
ServiceInstanceListSupplier instance underneath. |
class |
DiscoveryClientServiceInstanceListSupplier
A discovery-client-based
ServiceInstanceListSupplier implementation. |
class |
HealthCheckServiceInstanceListSupplier
A
ServiceInstanceListSupplier implementation that verifies whether the
instances are alive and only returns the healthy one, unless there are none. |
class |
HintBasedServiceInstanceListSupplier
A
ServiceInstanceListSupplier implementation that uses hints to filter service
instances provided by the delegate. |
class |
NoopServiceInstanceListSupplier
A no-op implementation of
ServiceInstanceListSupplier . |
class |
RequestBasedStickySessionServiceInstanceListSupplier
A session cookie based implementation of
ServiceInstanceListSupplier that gives
preference to the instance with an id specified in a request cookie. |
class |
RetryAwareServiceInstanceListSupplier
A
ServiceInstanceListSupplier implementation that avoids picking the same
service instance while retrying requests. |
class |
SameInstancePreferenceServiceInstanceListSupplier
An implementation of
ServiceInstanceListSupplier that selects the previously
chosen instance if it's available. |
class |
ZonePreferenceServiceInstanceListSupplier
An implementation of
ServiceInstanceListSupplier that filters instances
retrieved by the delegate by zone. |
Modifier and Type | Field and Description |
---|---|
protected ServiceInstanceListSupplier |
DelegatingServiceInstanceListSupplier.delegate |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceListSupplier |
ServiceInstanceListSupplierBuilder.build(org.springframework.context.ConfigurableApplicationContext context)
Builds the
ServiceInstanceListSupplier hierarchy. |
ServiceInstanceListSupplier |
DelegatingServiceInstanceListSupplier.getDelegate() |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceListSupplierBuilder |
ServiceInstanceListSupplierBuilder.withBase(ServiceInstanceListSupplier supplier)
Sets a user-provided
ServiceInstanceListSupplier as a base
ServiceInstanceListSupplier in the hierarchy. |
Constructor and Description |
---|
RandomLoadBalancer(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) |
Modifier and Type | Method and Description |
---|---|
static ServiceInstanceListSupplier |
ServiceInstanceListSuppliers.from(String serviceId,
ServiceInstance... instances) |
Modifier and Type | Method and Description |
---|---|
static org.springframework.beans.factory.ObjectProvider<ServiceInstanceListSupplier> |
ServiceInstanceListSuppliers.toProvider(String serviceId,
ServiceInstance... instances) |
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.