service

package
v0.0.0-...-a4eaa21 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalResourcePool = new(resourcesPool)

Functions

func NewEvictorFactory

func NewEvictorFactory() *evictorFactory

func NewOperatorFactory

func NewOperatorFactory() *operatorFactory

func NewProcessorFactory

func NewProcessorFactory(ctx context.Context, db *mongo.Database) *processorFactory

func NewTriggerFactory

func NewTriggerFactory() *triggerFactory

func NewWindowFactory

func NewWindowFactory() *windowFactory

Types

type EvictorCreateDTO

type EvictorCreateDTO struct {
	Type int32
}

type OperatorCreateDTO

type OperatorCreateDTO struct {
	Type     int32
	DataType int32
}

type ProcessorCreateDTO

type ProcessorCreateDTO struct {
	WindowId   string
	TriggerId  string
	EvictorId  string
	OperatorId string
}

type PushDataToProcessorDTO

type PushDataToProcessorDTO struct {
	ProcessorId string
	Key         string
	Value       string
	HappendTime string
}

type TriggerCreateDTO

type TriggerCreateDTO struct {
	Type   int32
	Count  int32
	Period int32
}

type WindowCreateDTO

type WindowCreateDTO struct {
	Type   core.WindowType
	Size   int32
	Period int32
	Gap    int32
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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