cache

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DropCounter

type DropCounter struct {
	Dropped      uint64 `statsd:"dropped"`  // 当前SEQ减去上次的SEQ
	Disorder     uint64 `statsd:"disorder"` // 当前SEQ小于上次的SEQ时+1,包乱序并且超出了CACHE_SIZE
	DisorderSize uint64 `statsd:"disorder_size"`
}

type DropDetection

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

func (*DropDetection) Detect

func (d *DropDetection) Detect(id uint32, seq uint64, timestamp uint32)

func (*DropDetection) GetCounter

func (d *DropDetection) GetCounter() interface{}

func (*DropDetection) Init

func (d *DropDetection) Init(name string, windowSize uint64)

type Instance

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

Jump to

Keyboard shortcuts

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