public class WeightedRoundRobinLoadBalancer extends WeightedLoadBalancer
distributionRatioSum, ratios, runtimeRatioSum
Constructor and Description |
---|
WeightedRoundRobinLoadBalancer(List<Integer> distributionRatios) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.AsyncProcessor |
chooseProcessor(org.apache.camel.AsyncProcessor[] processors,
org.apache.camel.Exchange exchange) |
protected void |
reset() |
decrementSum, doStart, getLastChosenProcessorIndex, getRatios
process
addProcessor, doGetProcessors, doInit, doShutdown, doStop, getId, getProcessors, getRouteId, hasNext, next, removeProcessor, setId, setRouteId, toString
build, doBuild, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected org.apache.camel.AsyncProcessor chooseProcessor(org.apache.camel.AsyncProcessor[] processors, org.apache.camel.Exchange exchange)
chooseProcessor
in class QueueLoadBalancer
protected void reset()
reset
in class WeightedLoadBalancer
Apache Camel