processor

package
v0.0.0-...-39c03fc Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor interface {
	// Name returns the name of the processor.
	Name() string

	// PushSnapshot processes a snapshot and updates the metrics registered in RegisterMetrics.
	PushSnapshot(ctx context.Context, req *deeppb.PushSnapshotRequest)

	// Shutdown releases any resources allocated by the processor. Once the processor is shut down,
	// PushSnapshot should not be called anymore.
	Shutdown(ctx context.Context)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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