storage

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleStorageState

type ModuleStorageState interface {
	Name() string
	InitialProgressRanges() block.Ranges
	ReadyUpToBlock() uint64
	BatchRequests(subrequestSplitSize uint64) block.Ranges
}

type ModuleStorageStateMap

type ModuleStorageStateMap map[string]ModuleStorageState

func BuildModuleStorageStateMap

func BuildModuleStorageStateMap(ctx context.Context, storeConfigMap store.ConfigMap, cacheSaveInterval uint64, mapConfigs *execout.Configs, requestStartBlock, linearHandoffBlock, storeLinearHandoffBlock uint64) (ModuleStorageStateMap, error)

func (ModuleStorageStateMap) Names

func (m ModuleStorageStateMap) Names() (out []string)

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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