@Metadata(label="eip,routing,loadbalance") public class FailoverLoadBalancerDefinition extends LoadBalancerDefinition
Constructor and Description |
---|
FailoverLoadBalancerDefinition() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getExceptions() |
List<Class<?>> |
getExceptionTypes() |
String |
getMaximumFailoverAttempts() |
String |
getRoundRobin() |
String |
getSticky() |
void |
setExceptions(List<String> exceptions)
A list of class names for specific exceptions to monitor.
|
void |
setExceptionTypes(List<Class<?>> exceptionTypes)
A list of specific exceptions to monitor.
|
void |
setMaximumFailoverAttempts(String maximumFailoverAttempts)
A value to indicate after X failover attempts we should exhaust (give up).
|
void |
setRoundRobin(String roundRobin)
Whether or not the failover load balancer should operate in round robin mode or not.
|
void |
setSticky(String sticky)
Whether or not the failover load balancer should operate in sticky mode or not.
|
String |
toString() |
getLoadBalancerTypeName, getMaximumNumberOfOutputs
getId, setId
public void setExceptions(List<String> exceptions)
public void setExceptionTypes(List<Class<?>> exceptionTypes)
public String getRoundRobin()
public void setRoundRobin(String roundRobin)
public String getSticky()
public void setSticky(String sticky)
public String getMaximumFailoverAttempts()
public void setMaximumFailoverAttempts(String maximumFailoverAttempts)
public String toString()
toString
in class LoadBalancerDefinition
Apache Camel