dispatcher

package
v0.0.0-...-a417bd8 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

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

func NewDispatcher

func NewDispatcher(config DispatcherConfig, processServer *processServer.ProcessServer, dispatchChannel chan submitwrap.SubmitTaskWrap, executorChannel chan<- submitwrap.SubmitTaskWrap) *Dispatcher

func (*Dispatcher) Run

func (dispatcher *Dispatcher) Run()

type DispatcherConfig

type DispatcherConfig struct {
	QueueSize           int `json:"queueSize"`
	DispatchChannelSize int `json:"channelSize"`
	Ndocker             int `json:"ndocker"`
}

Jump to

Keyboard shortcuts

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