MCPcopy Index your code
hub / github.com/CodisLabs/codis / Wait

Method Wait

pkg/utils/sync2/future.go:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (f *Future) Wait() map[string]interface{} {
33 f.wait.Wait()
34 f.Lock()
35 defer f.Unlock()
36 f.lazyInit()
37 return f.vmap
38}

Callers 15

resyncSlotMappingsMethod · 0.95
ProcessSlotActionMethod · 0.95
RefreshRedisStatsMethod · 0.95
RefreshProxyStatsMethod · 0.95
ResyncSentinelsMethod · 0.95
TestBackendFunction · 0.45
slotsmgrtMethod · 0.45
slotsmgrtExecWrapperMethod · 0.45
blockAndWaitMethod · 0.45
handleResponseMethod · 0.45
KeepAliveMethod · 0.45
lockedPopFrontMethod · 0.45

Calls 1

lazyInitMethod · 0.95

Tested by 4

TestBackendFunction · 0.36
TestRequestChan3Function · 0.36
TestProxyStatsFunction · 0.36
TestRedisStatsFunction · 0.36