queue

package
v0.22.5 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

package queue defines the interface and and implementation of a queue for events storage. the interface is defined by EventQueue while the (currently only) implementation is defined by eventQueueMem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConfig

type CacheConfig EventQueue

func NewEventQueueMem

func NewEventQueueMem(queueSizeMb int) CacheConfig

type EventQueue

type EventQueue interface {
	String() string
	Enqueue(*trace.Event)
	Dequeue() *trace.Event
}

Jump to

Keyboard shortcuts

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