Documentation ¶
Index ¶
- type Cache
- func (cache *Cache) Evict()
- func (cache *Cache) GetEvictions() int64
- func (cache *Cache) GetHits() int64
- func (cache *Cache) GetInsertions() int64
- func (cache *Cache) GetMax() int64
- func (cache *Cache) GetMisses() int64
- func (cache *Cache) GetRequests() int64
- func (cache *Cache) GetSize() int64
- func (cache *Cache) GetTangentRequests() int64
- func (cache *Cache) Hit()
- func (cache *Cache) Insert()
- func (cache *Cache) Miss()
- func (cache *Cache) Request()
- func (cache *Cache) Reset()
- func (cache *Cache) SetMax(newMax int64)
- func (cache *Cache) SetSize(newSize int64)
- func (cache *Cache) TangentRequest()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetEvictions ¶
func (*Cache) GetInsertions ¶
func (*Cache) GetRequests ¶
func (*Cache) GetTangentRequests ¶
func (*Cache) TangentRequest ¶
func (cache *Cache) TangentRequest()
Click to show internal directories.
Click to hide internal directories.