@Metadata(label="eip,routing,loadbalance,circuitbreaker") @Deprecated public class CircuitBreakerLoadBalancerDefinition extends LoadBalancerDefinition
Constructor and Description |
---|
CircuitBreakerLoadBalancerDefinition()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected LoadBalancer |
createLoadBalancer(RouteContext routeContext)
Deprecated.
Factory method to create the load balancer from the loadBalancerTypeName
|
List<String> |
getExceptions()
Deprecated.
|
List<Class<?>> |
getExceptionTypes()
Deprecated.
|
Long |
getHalfOpenAfter()
Deprecated.
|
protected int |
getMaximumNumberOfOutputs()
Deprecated.
Maximum number of outputs, as some load balancers only support 1 processor
|
Integer |
getThreshold()
Deprecated.
|
void |
setExceptions(List<String> exceptions)
Deprecated.
A list of class names for specific exceptions to monitor.
|
void |
setExceptionTypes(List<Class<?>> exceptionTypes)
Deprecated.
A list of specific exceptions to monitor.
|
void |
setHalfOpenAfter(Long halfOpenAfter)
Deprecated.
The timeout in millis to use as threshold to move state from closed to half-open or open state
|
void |
setThreshold(Integer threshold)
Deprecated.
Number of previous failed messages to use as threshold to move state from closed to half-open or open state
|
String |
toString()
Deprecated.
|
configureLoadBalancer, getLoadBalancer, getOtherAttributes, setLoadBalancer, setOtherAttributes, setProperty
getId, setId
public CircuitBreakerLoadBalancerDefinition()
protected int getMaximumNumberOfOutputs()
LoadBalancerDefinition
getMaximumNumberOfOutputs
in class LoadBalancerDefinition
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 List<Class<?>> getExceptionTypes()
public void setExceptionTypes(List<Class<?>> exceptionTypes)
public String toString()
toString
in class LoadBalancerDefinition
Apache Camel