noop

package
v2.0.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package noop defines a No-op metric implementation for the cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct{}

func New

func New() (metrics *Metrics)

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 (m *Metrics) CacheMaxEntriesSet(maxEntries int)

func (*Metrics) CacheMissInc

func (m *Metrics) CacheMissInc()

func (*Metrics) CacheMoveInc

func (m *Metrics) CacheMoveInc()

func (*Metrics) CacheRemoveInc

func (m *Metrics) CacheRemoveInc()

func (*Metrics) SetCacheType

func (m *Metrics) SetCacheType(cacheType string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL