algo.HashingLoadBalancer.next()
Description
Allocates an resource item for the next selected target.
Syntax
balancer.next()
Parameters
next(borrower?, tag?, unhealthy?)
borrower?tag?unhealthy?
A value of any type identifying the owner of the allocated resource. It defaults to the current value of __inbound if not present.
A value of any type as a tag given to the selected target so that the same target can be selected next time the same tag is requested.
A Cache object storing excluded targets that should not be picked.
Return Value
A resource object containing a field named id
for the allocated target.