Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatsCacheStore ¶
type StatsCacheStore interface { datarepo.CacheStore ClearStats() // number of Set operations performed in the CacheStore Sets() int64 // number of Cache Hits Hits() int64 // number of Cache Misses Miss() int64 // number of Delete operations performed in the CacheStore Dels() int64 }
func NewStatsCacheStore ¶
func NewStatsCacheStore(delegate datarepo.CacheStore) StatsCacheStore
Creates a new CacheStore that keeps hit/miss/set/del stats for an underlying/delegate CacheStore
Click to show internal directories.
Click to hide internal directories.