M2N

package
v0.0.0-...-384d90b Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Load   uint8 = 1
	ToSave uint8 = 1 << iota
	DeleteItem
)

Variables

This section is empty.

Functions

func NewM2NMachine

func NewM2NMachine(dataSources []asynchronousIO.DataSource, beanTypeNumbers, exceptBufferNumber int64, reIn bool) asynchronousIO.AsynchronousIOMachine

Types

type CmdTableForUnChangeableDataSource

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

func (*CmdTableForUnChangeableDataSource) Delete

func (t *CmdTableForUnChangeableDataSource) Delete(k int64, cs *sync.Pool) (c chan asynchronousIO.Bean, start bool)

func (*CmdTableForUnChangeableDataSource) Get

func (t *CmdTableForUnChangeableDataSource) Get(k int64, lastCmd uint8, lastBean asynchronousIO.Bean) (cmd uint8, bean asynchronousIO.Bean, c chan asynchronousIO.Bean, restart bool)

func (*CmdTableForUnChangeableDataSource) Load

func (*CmdTableForUnChangeableDataSource) Save

func (t *CmdTableForUnChangeableDataSource) Save(key int64, bean asynchronousIO.Bean, notify bool, cs *sync.Pool) (c chan asynchronousIO.Bean, start bool)

Jump to

Keyboard shortcuts

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