arraystatus

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 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 ArrayCachedStatus

type ArrayCachedStatus struct {
	CachedJobs *bitarray.BitSet `json:"cachedJobs"`
	NumCached  uint             `json:"numCached"`
}

This is a status object that is returned after we make Catalog calls to see if subtasks are Cached

type ArrayStatus

type ArrayStatus struct {
	// Summary of the array job. It's a map of phases and how many jobs are in that phase.
	Summary ArraySummary `json:"summary"`

	// Status of every job in the array.
	Detailed bitarray.CompactArray `json:"details"`
}

type ArraySummary

type ArraySummary map[core.Phase]int64

func (ArraySummary) Dec

func (in ArraySummary) Dec(phase core.Phase)

func (ArraySummary) Inc

func (in ArraySummary) Inc(phase core.Phase)

func (ArraySummary) IncByCount

func (in ArraySummary) IncByCount(phase core.Phase, count int64)

func (ArraySummary) MergeFrom

func (in ArraySummary) MergeFrom(other ArraySummary) (updated bool)

type JobID

type JobID = string

Jump to

Keyboard shortcuts

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