eviction

package
v0.0.0-...-ff8c80c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CacheReplacementPolicy_name = map[int32]string{
		0: "UNKNOWN",
		1: "FIRST_IN_FIRST_OUT",
		2: "LEAST_RECENTLY_USED",
		3: "RANDOM_REPLACEMENT",
	}
	CacheReplacementPolicy_value = map[string]int32{
		"UNKNOWN":             0,
		"FIRST_IN_FIRST_OUT":  1,
		"LEAST_RECENTLY_USED": 2,
		"RANDOM_REPLACEMENT":  3,
	}
)

Enum value maps for CacheReplacementPolicy.

View Source
var File_pkg_proto_configuration_eviction_eviction_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CacheReplacementPolicy

type CacheReplacementPolicy int32
const (
	CacheReplacementPolicy_UNKNOWN             CacheReplacementPolicy = 0
	CacheReplacementPolicy_FIRST_IN_FIRST_OUT  CacheReplacementPolicy = 1
	CacheReplacementPolicy_LEAST_RECENTLY_USED CacheReplacementPolicy = 2
	CacheReplacementPolicy_RANDOM_REPLACEMENT  CacheReplacementPolicy = 3
)

func (CacheReplacementPolicy) Descriptor

func (CacheReplacementPolicy) Enum

func (CacheReplacementPolicy) EnumDescriptor deprecated

func (CacheReplacementPolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use CacheReplacementPolicy.Descriptor instead.

func (CacheReplacementPolicy) Number

func (CacheReplacementPolicy) String

func (x CacheReplacementPolicy) String() string

func (CacheReplacementPolicy) Type

Jump to

Keyboard shortcuts

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