zlog

package
v0.0.0-...-9d1b792 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

WriteLog Parallel Superfast

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item interface {
	IID() int
	ToString() string
}

type ZLogQueueGeneric

type ZLogQueueGeneric[T Item] struct {
	// contains filtered or unexported fields
}

func New

func New[T Item](trunkSize int) *ZLogQueueGeneric[T]

func (*ZLogQueueGeneric[T]) Add

func (tr *ZLogQueueGeneric[T]) Add(item T)

type ZLogQueueGenericV2

type ZLogQueueGenericV2[T Item] struct {
	// contains filtered or unexported fields
}

func NewV2

func NewV2[T Item](trunkSize int) *ZLogQueueGenericV2[T]

func (*ZLogQueueGenericV2[T]) Add

func (tr *ZLogQueueGenericV2[T]) Add(item T)

Jump to

Keyboard shortcuts

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