impression

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: 8 Imported by: 0

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,
	metricsWrapper *storage.MetricWrapper,
	logger logging.LoggerInterface,
	metadata dtos.Metadata,
	managerConfig conf.ManagerConfig,
) 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