@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 request.
|
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- whether the load balancer should retry failed requestsCopyright © 2017 Pivotal Software, Inc.. All rights reserved.