base

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockFlusher

type BlockFlusher = func(base.INode, batch.IBatch, *metadata.Block, *dataio.TransientBlockFile) error

type IMutableBlock

type IMutableBlock interface {
	base.INode
	GetData() batch.IBatch
	GetFile() *dataio.TransientBlockFile
	GetMeta() *metadata.Block
	SetStale()
	Flush() error
}

type MockSize

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

func NewMockSize

func NewMockSize(size uint64) *MockSize

func (*MockSize) Size

func (mz *MockSize) Size() uint64

Jump to

Keyboard shortcuts

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