mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
485 B
15 lines
485 B
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"`
|
|
}
|
|
|