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

Method ExitIdle

balancer/endpointsharding/endpointsharding.go:232–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230}
231
232func (es *endpointSharding) ExitIdle() {
233 es.childMu.Lock()
234 defer es.childMu.Unlock()
235 for _, bw := range es.children.Load().All() {
236 if !bw.isClosed {
237 bw.child.ExitIdle()
238 }
239 }
240}
241
242// updateState updates this component's state. It sends the aggregated state,
243// and a picker with round robin behavior with all the child states present if

Callers

nothing calls this directly

Calls 5

ExitIdleMethod · 0.65
LockMethod · 0.45
UnlockMethod · 0.45
AllMethod · 0.45
LoadMethod · 0.45

Tested by

no test coverage detected