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

Method InfoFull

pkg/utils/redis/client.go:434–445  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

432}
433
434func (p *Pool) InfoFull(addr string) (_ map[string]string, err error) {
435 c, err := p.GetClient(addr)
436 if err != nil {
437 return nil, err
438 }
439 defer p.PutClient(c, err)
440 m, err := c.InfoFull()
441 if err != nil {
442 return nil, err
443 }
444 return m, nil
445}
446
447type InfoCache struct {
448 mu sync.Mutex

Callers 1

RefreshRedisStatsMethod · 0.45

Calls 2

GetClientMethod · 0.95
PutClientMethod · 0.95

Tested by

no test coverage detected