memdb

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const DisableGC = time.Duration(math.MaxInt64)

DisableGC is a convenient constant for setting the garbage collection interval high enough that it will never run.

View Source
const (
	Engine = "memory"
)

Variables

This section is empty.

Functions

func NewMemdbDatastore

func NewMemdbDatastore(
	watchBufferLength uint16,
	revisionQuantization,
	gcWindow time.Duration,
	simulatedLatency time.Duration,
) (datastore.Datastore, error)

NewMemdbDatastore creates a new Datastore compliant datastore backed by memdb.

If the watchBufferLength value of 0 is set then a default value of 128 will be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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