dispatcher

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

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

Dispatcher abstracts the dispatching of db jobs to db workers. this is done by reading ready CU and getting from them a ready to process bundles.

func NewDispatcher

func NewDispatcher(log logr.Logger, conflationReadyQueue *conflator.ConflationReadyQueue,
	dbWorkerPool *workerpool.DBWorkerPool) *Dispatcher

NewDispatcher creates a new instance of Dispatcher.

func (*Dispatcher) Start

func (dispatcher *Dispatcher) Start(ctx context.Context) error

Start starts the dispatcher.

Jump to

Keyboard shortcuts

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