public class WeightedRoundRobinLoadBalancer extends WeightedLoadBalancer
log
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
WeightedRoundRobinLoadBalancer(List<Integer> distributionRatios) |
Modifier and Type | Method and Description |
---|---|
protected Processor |
chooseProcessor(List<Processor> processors,
Exchange exchange) |
deepCloneDistributionRatios, doStart, getDistributionRatioList, getRuntimeRatios, isRuntimeRatiosZeroed, loadRuntimeRatios, resetRuntimeRatios, setDistributionRatioList, setRuntimeRatios
process
addProcessor, doShutdown, doStop, getProcessors, hasNext, next, process, removeProcessor
doResume, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public WeightedRoundRobinLoadBalancer(List<Integer> distributionRatios)
protected Processor chooseProcessor(List<Processor> processors, Exchange exchange)
chooseProcessor
in class QueueLoadBalancer
Apache Camel