Documentation ¶
Overview ¶
Package noop defines a No-op metric implementation for the cache.
Index ¶
- type Metrics
- func (m *Metrics) CacheExpiredInc()
- func (m *Metrics) CacheGetEmptyInc()
- func (m *Metrics) CacheHitInc()
- func (m *Metrics) CacheInsertEmptyInc()
- func (m *Metrics) CacheInsertInc()
- func (m *Metrics) CacheMaxEntriesSet(maxEntries int)
- func (m *Metrics) CacheMissInc()
- func (m *Metrics) CacheMoveInc()
- func (m *Metrics) CacheRemoveInc()
- func (m *Metrics) SetCacheType(cacheType string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct{}
func (*Metrics) CacheExpiredInc ¶
func (m *Metrics) CacheExpiredInc()
func (*Metrics) CacheGetEmptyInc ¶
func (m *Metrics) CacheGetEmptyInc()
func (*Metrics) CacheHitInc ¶
func (m *Metrics) CacheHitInc()
func (*Metrics) CacheInsertEmptyInc ¶
func (m *Metrics) CacheInsertEmptyInc()
func (*Metrics) CacheInsertInc ¶
func (m *Metrics) CacheInsertInc()
func (*Metrics) CacheMaxEntriesSet ¶
func (*Metrics) CacheMissInc ¶
func (m *Metrics) CacheMissInc()
func (*Metrics) CacheMoveInc ¶
func (m *Metrics) CacheMoveInc()
func (*Metrics) CacheRemoveInc ¶
func (m *Metrics) CacheRemoveInc()
func (*Metrics) SetCacheType ¶
Click to show internal directories.
Click to hide internal directories.