gc

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExecutorName = "GCExecutor"
)

Variables

This section is empty.

Functions

func NewWorker

func NewWorker(cfg *gci.WorkerCfg) gci.IWorker

Types

type BaseRequest

type BaseRequest struct {
	ops.Op
	Next      gci.IRequest
	Iteration uint32
}

func (*BaseRequest) GetIteration

func (req *BaseRequest) GetIteration() uint32

func (*BaseRequest) GetNext

func (req *BaseRequest) GetNext() gci.IRequest

func (*BaseRequest) IncIteration

func (req *BaseRequest) IncIteration()

type Worker

type Worker struct {
	w.OpWorker
	// contains filtered or unexported fields
}

func (*Worker) Accept

func (wk *Worker) Accept(request gci.IRequest)

func (*Worker) Start

func (wk *Worker) Start()

func (*Worker) Stop

func (wk *Worker) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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