simple

package
v0.2012.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package simple implements a simple batching transaction scheduler.

Index

Constants

View Source
const (
	// Name of the scheduler.
	Name = registry.TxnSchedulerSimple
)

Variables

This section is empty.

Functions

func New

func New(txPoolImpl string, maxTxPoolSize uint64, params registry.TxnSchedulerParameters) (api.Scheduler, error)

New creates a new simple scheduler.

Types

This section is empty.

Directories

Path Synopsis
Package tests is a collection of transactinon pool test cases.
Package tests is a collection of transactinon pool test cases.
api
Package api defines the transaction pool interfaces.
Package api defines the transaction pool interfaces.
orderedmap
Package orderedmap implements a tx pool backed by an ordered map.
Package orderedmap implements a tx pool backed by an ordered map.

Jump to

Keyboard shortcuts

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