beatstor

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func NewInMemory

func NewInMemory(depth int) *Memory

func (*Memory) AddCommittedBeat

func (p *Memory) AddCommittedBeat(bt beat.Beat) error

func (*Memory) AddExpectedBeat

func (p *Memory) AddExpectedBeat(bt beat.Beat) error

func (*Memory) EnsureLatestTimeBeat

func (p *Memory) EnsureLatestTimeBeat(bt beat.Beat) error

func (*Memory) FindAnyLatestNodeSnapshot

func (p *Memory) FindAnyLatestNodeSnapshot() beat.NodeSnapshot

func (*Memory) FindLatestNodeSnapshot

func (p *Memory) FindLatestNodeSnapshot() beat.NodeSnapshot

func (*Memory) GetNodeSnapshot

func (p *Memory) GetNodeSnapshot(pn pulse.Number) (beat.NodeSnapshot, error)

func (*Memory) LatestTimeBeat

func (p *Memory) LatestTimeBeat() (beat.Beat, error)

func (*Memory) TimeBeat

func (p *Memory) TimeBeat(pn pulse.Number) (beat.Beat, error)

Jump to

Keyboard shortcuts

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