impression

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImpressionRecorder

type ImpressionRecorder interface {
	SynchronizeImpressions(bulkSize int64) error
	FlushImpressions(bulkSize int64) error
}

ImpressionRecorder interface

func NewRecorderSingle

func NewRecorderSingle(
	impressionStorage storage.ImpressionStorageConsumer,
	impressionRecorder service.ImpressionsRecorder,
	logger logging.LoggerInterface,
	metadata dtos.Metadata,
	managerConfig conf.ManagerConfig,
	runtimeTelemetry storage.TelemetryRuntimeProducer,
) ImpressionRecorder

NewRecorderSingle creates new impression synchronizer for posting impressions

type RecorderSingle

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

RecorderSingle struct for impression sync

func (*RecorderSingle) FlushImpressions

func (i *RecorderSingle) FlushImpressions(bulkSize int64) error

FlushImpressions flushes impressions

func (*RecorderSingle) SynchronizeImpressions

func (i *RecorderSingle) SynchronizeImpressions(bulkSize int64) error

SynchronizeImpressions syncs impressions

Jump to

Keyboard shortcuts

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