Object -
http
:
LoadBalancerRoundRobinRule
Implementation of round robin load balancing strategy.
Methods
Fields
- index int (default 0)
-
Keep tracks the current point of the Client[]
Provides an HTTP client which is chosen according to the round robin algorithm.
Parameters
- loadBalanceCallerActionsArray Client?[]
-
Array of HTTP clients which needs to be load balanced
-
Return Type
(Client | ClientError) Chosen
Client
from the algorithm or anhttp:ClientError
for a failure in the algorithm implementation