concurrency

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckpointManager

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

*

  • CheckpointManager creates consistent checkpoints by blocking all other transactions temporarily.

func NewCheckpointManager

func NewCheckpointManager(
	transaction_manager *access.TransactionManager,
	log_manager *recovery.LogManager,
	buffer_pool_manager *buffer.BufferPoolManager) *CheckpointManager

func (*CheckpointManager) BeginCheckpoint

func (checkpoint_manager *CheckpointManager) BeginCheckpoint()

func (*CheckpointManager) EndCheckpoint

func (checkpoint_manager *CheckpointManager) EndCheckpoint()

func (*CheckpointManager) IsCheckpointActive added in v0.0.2

func (checkpoint_manager *CheckpointManager) IsCheckpointActive() bool

func (*CheckpointManager) StartCheckpointTh added in v0.0.2

func (checkpoint_manager *CheckpointManager) StartCheckpointTh()

func (*CheckpointManager) StopCheckpointTh added in v0.0.2

func (checkpoint_manager *CheckpointManager) StopCheckpointTh()

Jump to

Keyboard shortcuts

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