evictionWaitingList

package
v1.999.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEvictionWaitingList

func NewEvictionWaitingList(size uint, db storage.Persister, marshalizer marshal.Marshalizer) (*evictionWaitingList, error)

NewEvictionWaitingList creates a new instance of evictionWaitingList

func NewMemoryEvictionWaitingList

func NewMemoryEvictionWaitingList(args MemoryEvictionWaitingListArgs) (*memoryEvictionWaitingList, error)

NewMemoryEvictionWaitingList creates a new instance of memoryEvictionWaitingList

Types

type MemoryEvictionWaitingListArgs

type MemoryEvictionWaitingListArgs struct {
	RootHashesSize uint
	HashesSize     uint
}

MemoryEvictionWaitingListArgs is the DTO used in the NewMemoryEvictionWaitingList function

Jump to

Keyboard shortcuts

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