ganeti

Safe HaskellNone

Ganeti.JQScheduler.Types

Description

Types for the JQScheduler.

Synopsis

Documentation

data JobWithStat Source

Constructors

JobWithStat 

Fields

jINotify :: Maybe INotify
 
jStat :: FStat
 
jJob :: !QueuedJob
 

Instances

Eq JobWithStat 
Show JobWithStat 
Arbitrary JobWithStat 

nullJobWithStat :: QueuedJob -> JobWithStatSource

A job without INotify and FStat.

data Queue Source

Constructors

Queue 

Fields

qEnqueued :: ![JobWithStat]
 
qRunning :: ![JobWithStat]
 
qManipulated :: ![JobWithStat]

running jobs that are being manipulated by some thread

Instances

Eq Queue 
Show Queue 
Arbitrary Queue