queue

package
v0.0.0-...-db26c95 Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: MIT Imports: 4 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobPriorityQueue

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

func NewJobPriorityQueue

func NewJobPriorityQueue() *JobPriorityQueue

func (JobPriorityQueue) GetPQ

func (pq JobPriorityQueue) GetPQ() *lane.PQueue

func (JobPriorityQueue) Len

func (pq JobPriorityQueue) Len() int

func (JobPriorityQueue) Pop

func (pq JobPriorityQueue) Pop() qItem.Item

func (JobPriorityQueue) Push

func (pq JobPriorityQueue) Push(j job.Job, exec *job.Exec, results chan<- qItem.Item, cancel chan struct{})

func (JobPriorityQueue) PushItem

func (pq JobPriorityQueue) PushItem(i qItem.Item, piority int)

func (JobPriorityQueue) Remove

func (pq JobPriorityQueue) Remove(hash []byte)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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