Uses of Class
org.springframework.cloud.client.loadbalancer.LoadBalancedRetryContext
Packages that use LoadBalancedRetryContext
Package
Description
Spring Cloud load balancer abstractions.
-
Uses of LoadBalancedRetryContext in org.springframework.cloud.client.loadbalancer
Methods in org.springframework.cloud.client.loadbalancer with parameters of type LoadBalancedRetryContextModifier and TypeMethodDescriptionbooleanLoadBalancedRetryPolicy.canRetryNextServer(LoadBalancedRetryContext context) Return true to retry the failed request on the next server from the load balancer.booleanLoadBalancedRetryPolicy.canRetrySameServer(LoadBalancedRetryContext context) Return true to retry the failed request on the same server.voidLoadBalancedRetryPolicy.close(LoadBalancedRetryContext context) Called when the retry operation has ended.voidLoadBalancedRetryPolicy.registerThrowable(LoadBalancedRetryContext context, Throwable throwable) Called when the execution fails.