aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/allegro/bigcache/stats.go
blob: 07157132a23949a2d9443daaa2954d40f0e2b881 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package bigcache

// Stats stores cache statistics
type Stats struct {
    // Hits is a number of successfully found keys
    Hits int64 `json:"hits"`
    // Misses is a number of not found keys
    Misses int64 `json:"misses"`
    // DelHits is a number of successfully deleted keys
    DelHits int64 `json:"delete_hits"`
    // DelMisses is a number of not deleted keys
    DelMisses int64 `json:"delete_misses"`
    // Collisions is a number of happened key-collisions
    Collisions int64 `json:"collisions"`
}