lfu

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admission added in v1.4.4

type Admission struct {
	// contains filtered or unexported fields
}

func NewAdmission added in v1.4.4

func NewAdmission(ctx context.Context) *Admission

func (*Admission) Allow added in v1.4.4

func (t *Admission) Allow(new, old *model.Entry) bool

func (*Admission) Record added in v1.4.4

func (t *Admission) Record(key uint64)

func (*Admission) Rotate added in v1.4.4

func (t *Admission) Rotate()

Jump to

Keyboard shortcuts

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