concurrentqueue

package
v0.27.0-pre-release-1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentQueue

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

ConcurrentQueue implements a thread safe interface for unbounded FIFO queue.

func (*ConcurrentQueue) Front

func (s *ConcurrentQueue) Front() (interface{}, bool)

func (*ConcurrentQueue) Len

func (s *ConcurrentQueue) Len() int

func (*ConcurrentQueue) Pop

func (s *ConcurrentQueue) Pop() (interface{}, bool)

func (*ConcurrentQueue) PopBatch

func (s *ConcurrentQueue) PopBatch(batchSize int) ([]interface{}, bool)

func (*ConcurrentQueue) Push

func (s *ConcurrentQueue) Push(v interface{})

Jump to

Keyboard shortcuts

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