@ConfigurationProperties(value="spring.cloud.loadbalancer.retry") public class LoadBalancerRetryProperties extends Object
LoadBalancerClient
.Constructor and Description |
---|
LoadBalancerRetryProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Returns true if the load balancer should retry failed requests.
|
void |
setEnabled(boolean enabled)
Sets whether the load balancer should retry failed requests.
|
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- Whether the load balancer should retry failed requests.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.