split

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SplitFetcher

type SplitFetcher interface {
	SynchronizeSplits(till *int64) error
}

SplitFetcher interface

func NewSplitFetcher

func NewSplitFetcher(
	splitStorage storage.SplitStorage,
	splitFetcher service.SplitFetcher,
	metricsWrapper *storage.MetricWrapper,
	logger logging.LoggerInterface,
) SplitFetcher

NewSplitFetcher creates new split synchronizer for processing split updates

type SplitFetcherSimple

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

SplitFetcherSimple struct for split sync

func (*SplitFetcherSimple) SynchronizeSplits

func (s *SplitFetcherSimple) SynchronizeSplits(till *int64) error

SynchronizeSplits syncs splits

Jump to

Keyboard shortcuts

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