com.multisoftgroup.jerry.webchat.managers.balancer
Class BalancedLoading
java.lang.Object
com.multisoftgroup.jerry.webchat.managers.balancer.OperatorBalancer
com.multisoftgroup.jerry.webchat.managers.balancer.BalancedLoading
public class BalancedLoading
- extends OperatorBalancer
This operator load balancer allows to allot incoming requests equally to the account operators.
- Author:
- Pavel Savin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BalancedLoading
public BalancedLoading()
nextAvailableOperator
public Operator nextAvailableOperator(JerryAccount account)
- Description copied from class:
OperatorBalancer
- The implementation of this method should return next available operator for the specified account.
- Specified by:
nextAvailableOperator in class OperatorBalancer
- Parameters:
account - Jerry account in which the chat is created
- Returns:
- available operator