Interface | Description |
---|---|
AsyncRestTemplateCustomizer | |
LoadBalancedRetryFactory |
Factory class used to customize the retry functionality throughout Spring Cloud.
|
LoadBalancedRetryPolicy |
Retry logic to use for the
LoadBalancerClient . |
LoadBalancerClient |
Represents a client-side load balancer.
|
LoadBalancerLifecycle<RC,RES,T> |
Allows to define actions that should be carried out before and after load-balancing.
|
LoadBalancerRequest<T> |
Simple interface used by LoadBalancerClient to apply metrics or pre and post actions
around load balancer requests.
|
LoadBalancerRequestTransformer |
Allows applications to transform the load-balanced
HttpRequest given the chosen
ServiceInstance . |
Request<C> |
Marker interface for a request.
|
Response<T> |
Response created for each request.
|
RestTemplateCustomizer | |
ServiceInstanceChooser |
Implemented by classes which use a load balancer to choose a server to send a request
to.
|
TimedRequestContext |
Allows setting and retrieving request start time.
|
Class | Description |
---|---|
AsyncLoadBalancerAutoConfiguration |
Auto-configuration for blocking client-side load balancing.
|
AsyncLoadBalancerInterceptor | |
CompletionContext<RES,T,C> |
Allows propagation of data related to load-balanced call completion status.
|
DefaultRequest<T> |
A default implementation of
Request . |
DefaultRequestContext |
Contains information relevant to the request.
|
DefaultResponse | |
EmptyResponse | |
HintRequestContext |
Allows propagating hints to the LoadBalancer.
|
InterceptorRetryPolicy |
RetryPolicy used by the LoadBalancerClient when retrying failed
requests. |
LoadBalancedRecoveryCallback<T,R> |
An implementation of
RecoveryCallback which relies on an implementation of
RetryableStatusCodeException to contain the last response object from the
request. |
LoadBalancedRetryContext |
RetryContext for load-balanced retries. |
LoadBalancerAutoConfiguration |
Auto-configuration for blocking client-side load balancing.
|
LoadBalancerAutoConfiguration.RetryAutoConfiguration |
Auto configuration for retry mechanism.
|
LoadBalancerAutoConfiguration.RetryInterceptorAutoConfiguration |
Auto configuration for retry intercepting mechanism.
|
LoadBalancerInterceptor | |
LoadBalancerLifecycleValidator |
Utility class containing methods that allow to filter out supported
LoadBalancerLifecycle beans. |
LoadBalancerProperties |
A
ConfigurationProperties bean for Spring Cloud LoadBalancer. |
LoadBalancerProperties.HealthCheck | |
LoadBalancerProperties.Retry | |
LoadBalancerProperties.Retry.Backoff | |
LoadBalancerProperties.StickySession | |
LoadBalancerRequestAdapter<T,RC> |
An adapter class that allows creating
Request objects from previously
LoadBalancerRequest objects. |
LoadBalancerRequestFactory | |
LoadBalancerUriTools | |
RequestData |
Represents the data of the request that can be safely read (without passing request
reactive stream values).
|
RequestDataContext |
A
RequestData -based DefaultRequestContext . |
ResponseData |
Represents the data of the request that can be safely read (without passing request
reactive stream values).
|
RetryableRequestContext |
A request context object that allows storing information on previously used service
instances.
|
RetryLoadBalancerInterceptor | |
ServiceRequestWrapper |
Enum | Description |
---|---|
CompletionContext.Status |
Request status state.
|
Exception | Description |
---|---|
ClientHttpResponseStatusCodeException |
RetryableStatusCodeException that captures a ClientHttpResponse . |
RetryableStatusCodeException |
Exception to be thrown when the status code is deemed to be retryable.
|
Annotation Type | Description |
---|---|
LoadBalanced |
Annotation to mark a RestTemplate or WebClient bean to be configured to use a
LoadBalancerClient.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.