deltas

package
v0.0.0-...-0d0b246 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DirName = "deltas"

DirName represents directory name for the deltas

Variables

View Source
var EmptyBuffer = errors.New("Empty buffer")

EmptyBuffer represents empty message buffer error

Functions

func New

func New(tableDir string, fsync bool) *deltas

New instantiates deltas

Types

type MessageCollector

type MessageCollector interface {
	AddMessage(message.Message)
	Save() (filename string, minLSN, maxLSN dbutils.LSN, err error)
	MessageCnt() uint32
	LastMessageTime() time.Time
	GetMessage() (message.Message, error)
	Load(filename string) error
	Close() error
}

MessageCollector represents interface

Jump to

Keyboard shortcuts

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