MCPcopy Create free account
hub / github.com/golang/groupcache / CacheStats

Struct CacheStats

testpb/test.pb.go:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82type CacheStats struct {
83 Items *int64 `protobuf:"varint,1,opt,name=items" json:"items,omitempty"`
84 Bytes *int64 `protobuf:"varint,2,opt,name=bytes" json:"bytes,omitempty"`
85 Gets *int64 `protobuf:"varint,3,opt,name=gets" json:"gets,omitempty"`
86 Hits *int64 `protobuf:"varint,4,opt,name=hits" json:"hits,omitempty"`
87 Evicts *int64 `protobuf:"varint,5,opt,name=evicts" json:"evicts,omitempty"`
88 XXX_unrecognized []byte `json:"-"`
89}
90
91func (m *CacheStats) Reset() { *m = CacheStats{} }
92func (m *CacheStats) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected