Documentation ¶
Index ¶
- Variables
- type CacheReplacementPolicy
- func (CacheReplacementPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x CacheReplacementPolicy) Enum() *CacheReplacementPolicy
- func (CacheReplacementPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x CacheReplacementPolicy) Number() protoreflect.EnumNumber
- func (x CacheReplacementPolicy) String() string
- func (CacheReplacementPolicy) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (CacheReplacementPolicy) Enum ¶
func (x CacheReplacementPolicy) Enum() *CacheReplacementPolicy
func (CacheReplacementPolicy) EnumDescriptor
deprecated
func (CacheReplacementPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use CacheReplacementPolicy.Descriptor instead.
func (CacheReplacementPolicy) Number ¶
func (x CacheReplacementPolicy) Number() protoreflect.EnumNumber
func (CacheReplacementPolicy) String ¶
func (x CacheReplacementPolicy) String() string
func (CacheReplacementPolicy) Type ¶
func (CacheReplacementPolicy) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.