Package | Description |
---|---|
org.springframework.cloud.client.loadbalancer |
Modifier and Type | Method and Description |
---|---|
boolean |
LoadBalancedRetryPolicy.canRetryNextServer(LoadBalancedRetryContext context)
Return true to retry the failed request on the next server from the load balancer.
|
boolean |
LoadBalancedRetryPolicy.canRetrySameServer(LoadBalancedRetryContext context)
Return true to retry the failed request on the same server.
|
void |
LoadBalancedRetryPolicy.close(LoadBalancedRetryContext context)
Called when the retry operation has ended.
|
void |
LoadBalancedRetryPolicy.registerThrowable(LoadBalancedRetryContext context,
Throwable throwable)
Called when the execution fails.
|
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.