replicated_block

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepBlock

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

func Open

func Open(txn *obj.Log, a common.Bnum) *RepBlock

func (*RepBlock) Read

func (rb *RepBlock) Read() (disk.Block, bool)

can fail in principle if CommitWait fails, but that's really impossible since it's an empty transaction

func (*RepBlock) Write

func (rb *RepBlock) Write(b disk.Block) bool

Jump to

Keyboard shortcuts

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