public class CircuitBreakerLoadBalancerDefinition extends LoadBalancerDefinition
Constructor and Description |
---|
CircuitBreakerLoadBalancerDefinition() |
Modifier and Type | Method and Description |
---|---|
protected LoadBalancer |
createLoadBalancer(RouteContext routeContext)
Factory method to create the load balancer instance
|
List<String> |
getExceptions() |
Long |
getHalfOpenAfter() |
Integer |
getThreshold() |
void |
setExceptions(List<String> exceptions) |
void |
setHalfOpenAfter(Long halfOpenAfter) |
void |
setThreshold(Integer threshold) |
String |
toString() |
addProcessor, configureLoadBalancer, getLoadBalancer, getLoadBalancer, getProcessors, process, process, removeProcessor, setProperty
getId, setId
public CircuitBreakerLoadBalancerDefinition()
protected LoadBalancer createLoadBalancer(RouteContext routeContext)
LoadBalancerDefinition
createLoadBalancer
in class LoadBalancerDefinition
public Long getHalfOpenAfter()
public void setHalfOpenAfter(Long halfOpenAfter)
public Integer getThreshold()
public void setThreshold(Integer threshold)
public List<String> getExceptions()
public void setExceptions(List<String> exceptions)
public String toString()
toString
in class LoadBalancerDefinition
Apache Camel