MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / BenchBaseMutex

Struct BenchBaseMutex

cachebench/ristretto/cache.go:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168type BenchBaseMutex struct {
169 sync.Mutex
170 cache *lru.Cache
171 log *policyLog
172 track bool
173}
174
175func NewBenchBaseMutex(capacity int, track bool) Cache {
176 return &BenchBaseMutex{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected