MCPcopy
hub / github.com/grpc/grpc-go / exitIdle

Method exitIdle

internal/balancergroup/balancergroup.go:111–117  ·  view source on GitHub ↗

exitIdle invokes the ExitIdle method on the sub-balancer, a gracefulswitch balancer.

()

Source from the content-addressed store, hash-verified

109// exitIdle invokes the ExitIdle method on the sub-balancer, a gracefulswitch
110// balancer.
111func (sbc *subBalancerWrapper) exitIdle() {
112 b := sbc.balancer
113 if b == nil {
114 return
115 }
116 b.ExitIdle()
117}
118
119func (sbc *subBalancerWrapper) updateClientConnState(s balancer.ClientConnState) error {
120 sbc.ccState = &s

Callers 2

ExitIdleMethod · 0.45
ExitIdleOneMethod · 0.45

Calls 1

ExitIdleMethod · 0.65

Tested by

no test coverage detected