Package io.grpc.util

Class MultiChildLoadBalancer.ChildLbState

java.lang.Object
io.grpc.util.MultiChildLoadBalancer.ChildLbState
Enclosing class:
MultiChildLoadBalancer

public class MultiChildLoadBalancer.ChildLbState extends Object
This represents the state of load balancer children. Each endpoint (represented by an EquivalentAddressGroup or EDS string) will have a separate ChildLbState which in turn will have a single child LoadBalancer created from the provided factory.

A ChildLbStateHelper is the glue between ChildLbState and the helpers associated with the petiole policy above and the PickFirstLoadBalancer's helper below.

If you wish to store additional state information related to each subchannel, then extend this class.