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

Method Close

balancer/balancer.go:362–362  ·  balancer/balancer.go::Balancer.Close

Close closes the balancer. The balancer is not currently required to call SubConn.Shutdown for its existing SubConns; however, this will be required in a future release, so it is recommended.

()

Source from the content-addressed store, hash-verified

360 // call SubConn.Shutdown for its existing SubConns; however, this will be
361 // required in a future release, so it is recommended.
362 Close()
363 // ExitIdle instructs the LB policy to reconnect to backends / exit the
364 // IDLE state, if appropriate and possible. Note that SubConns that enter
365 // the IDLE state will not reconnect until SubConn.Connect is called.

Implementers 15

orcabinterop/orcalb.go
leastRequestBalancerbalancer/leastrequest/leastrequest.go
rlsBalancerbalancer/rls/balancer.go
weightedTargetBalancerbalancer/weightedtarget/weightedtarget
lbBalancerbalancer/grpclb/grpclb.go
lazyBalancerbalancer/lazy/lazy.go
pickfirstBalancerbalancer/pickfirst/pickfirst.go
baseBalancerbalancer/base/balancer.go
ringhashBalancerbalancer/ringhash/ringhash.go
wrrBalancerbalancer/weightedroundrobin/balancer.g
endpointShardingbalancer/endpointsharding/endpointshar
testBalancertest/balancer_test.go

Calls

no outgoing calls