context

package
v0.0.0-...-4d2ef29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	estimator.Estimator
	workspace.Workspace

	NumMcpu() int  // 逻辑执行单元限制
	NumRcpu() int  // 执行单元的最佳并行读数目
	MemSize() int  // 可用内存限制
	DiskSize() int // 可用磁盘限制

	NewHash(int) (hash.Hash, error)
	NewVector() (vector.Vector, error)
	NewCounter() (counter.Counter, error)
	NewDictVector() (dictVec.DictVector, error)
	NewDictionary() (dictionary.Dictionary, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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