worker

package
v5.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImpressionsCounstWorkerImp added in v5.2.0

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

func NewImpressionsCounstWorker added in v5.2.0

func NewImpressionsCounstWorker(
	impressionsCounter strategy.ImpressionsCounter,
	storage storage.ImpressionsCountConsumer,
	logger logging.LoggerInterface,
) ImpressionsCounstWorkerImp

func (*ImpressionsCounstWorkerImp) Process added in v5.2.0

func (i *ImpressionsCounstWorkerImp) Process() error

type TelemetryMultiSyncError

type TelemetryMultiSyncError struct {
	Errors map[dtos.Metadata]error
}

TelemetryMultiSyncError is used to signal errors on multiple calls to telemetry recording apis

func (*TelemetryMultiSyncError) Error

func (t *TelemetryMultiSyncError) Error() string

Error returns the error formatted as a string

type TelemetryMultiWorker

type TelemetryMultiWorker interface {
	SynchronizeStats() error
	SyncrhonizeConfigs() error
}

TelemetryMultiWorker defines the interface for a telemetry syncrhonizer suitable for multiple sdk instances

type TelemetryMultiWorkerImpl

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

TelemetryMultiWorkerImpl is a component used to syncrhonize telemetry posted in redis by sdk into the split servers

func NewTelemetryMultiWorker

NewTelemetryMultiWorker instantes a new telemetry worker

func (*TelemetryMultiWorkerImpl) SynchronizeStats

func (w *TelemetryMultiWorkerImpl) SynchronizeStats() error

SynchronizeStats syncs telemetry stats

func (*TelemetryMultiWorkerImpl) SyncrhonizeConfigs

func (w *TelemetryMultiWorkerImpl) SyncrhonizeConfigs() error

SyncrhonizeConfigs syncs sdk configs

Jump to

Keyboard shortcuts

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