MCPcopy
hub / github.com/redis/go-redis / UsedAtNs

Method UsedAtNs

internal/pool/conn.go:187–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185}
186
187func (cn *Conn) UsedAtNs() int64 {
188 return cn.usedAt.Load()
189}
190func (cn *Conn) SetUsedAtNs(ns int64) {
191 cn.usedAt.Store(ns)
192}

Callers 1

isHealthyConnMethod · 0.80

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected