algo.HashingLoadBalancer()
Description
Creates an instance of HashingLoadBalancer.
Syntax
new algo.HashingLoadBalancer([ ...targets ])
Parameters
new algo.HashingLoadBalancer(targets, unhealthy?)
targetsunhealthy?
An array of strings. Each string represents a target.
A Cache object storing unhealthy targets.
Return Value
A HashingLoadBalancer object with the specified targets.