scheduler

package
v0.0.0-...-29babf1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleScheduler

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

func (*SimpleScheduler) ConfigureMasterWorkerChan

func (s *SimpleScheduler) ConfigureMasterWorkerChan(in chan engine.Request)

实现 engine.Scheduler 接口的 ConfigureMasterWorkerChan(chan engine.Request) 方法 拿到 engine.Run() 方法创建的 in := make(chan Request)

func (*SimpleScheduler) Submit

func (s *SimpleScheduler) Submit(r engine.Request)

实现 engine.Scheduler 接口的 Submit(engine.Request) 方法

Jump to

Keyboard shortcuts

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