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

Method acquireRef

balancer/rls/child_policy.go:89–91  ·  view source on GitHub ↗

acquireRef increments the reference count on the child policy wrapper.

()

Source from the content-addressed store, hash-verified

87
88// acquireRef increments the reference count on the child policy wrapper.
89func (c *childPolicyWrapper) acquireRef() {
90 c.refCnt++
91}
92
93// releaseRef decrements the reference count on the child policy wrapper. The
94// return value indicates whether the released reference was the last one.

Callers 2

sendNewPickerLockedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected