Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ snapshot
Method
snapshot
stats.go:59–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
}
58
59
func
(g *gauge) snapshot() int64 {
60
return
atomic.LoadInt64(g.ptr())
61
}
62
63
// minimum is an atomic integral type that keeps track of the minimum of all
64
// values that it observed between snapshots.
Callers
3
snapshot
Method · 0.45
Stats
Method · 0.45
Stats
Method · 0.45
Calls
1
ptr
Method · 0.95
Tested by
no test coverage detected