| 166 | } |
| 167 | |
| 168 | type BenchBaseMutex struct { |
| 169 | sync.Mutex |
| 170 | cache *lru.Cache |
| 171 | log *policyLog |
| 172 | track bool |
| 173 | } |
| 174 | |
| 175 | func NewBenchBaseMutex(capacity int, track bool) Cache { |
| 176 | return &BenchBaseMutex{ |
nothing calls this directly
no outgoing calls
no test coverage detected