spacetime

package
v0.0.0-...-eed5818 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 14 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spacetime

type Spacetime struct {
	StartTS uint64 //txn's start TS
	// contains filtered or unexported fields
}

Spacetime is for handling meta

func NewSnapshotSpacetime

func NewSnapshotSpacetime(snapshot eekv.Snapshot) *Spacetime

Meta with snapshot

func NewSpacetime

func NewSpacetime(txn eekv.Transaction, jobListKeys ...JobListKeyType) *Spacetime

If the current Meta needs to handle a job, jobListKey is the type of the job's list.

func (*Spacetime) GenGlobalDaggerID

func (m *Spacetime) GenGlobalDaggerID() (int64, error)

GenGlobalDaggerID generates next id globally

Jump to

Keyboard shortcuts

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