idlestrategy

package
v0.0.0-...-2b92083 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Busy

type Busy struct {
}

func (Busy) Idle

func (s Busy) Idle(fragmentsRead int)

type Idler

type Idler interface {
	Idle(fragmentsRead int)
}

type Sleeping

type Sleeping struct {
	SleepFor time.Duration
}

func (Sleeping) Idle

func (s Sleeping) Idle(fragmentsRead int)

type Yielding

type Yielding struct {
}

func (Yielding) Idle

func (s Yielding) Idle(fragmentsRead int)

Jump to

Keyboard shortcuts

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