Package ganeti :: Package jqueue
[hide private]
[frames] | no frames]

Package jqueue

source code

Module implementing the job queue handling.

Submodules [hide private]

Classes [hide private]
Special exception to cancel a job.
Encapsulates an opcode object.
In-memory job representation.
Keeps track of job dependencies.
Queue used to manage the jobs.
Functions [hide private]
Returns the current timestamp.
source code
_CallJqUpdate(runner, names, file_name, content)
Updates job queue file after virtualizing filename.
source code
Encodes an error which occurred while processing an opcode.
source code
Variables [hide private]
  _GetIdAttr = operator.attrgetter("id")
Retrieves "id" attribute

Imports: logging, errno, time, weakref, threading, itertools, operator, os, pyinotify, asyncnotifier, constants, serializer, locking, luxi, opcodes, opcodes_base, errors, mcpu, utils, jstore, rpc, runtime, netutils, compat, ht, query, qlang, pathutils, vcluster, cluster

Function Details [hide private]


source code 

Returns the current timestamp.

Returns: tuple
the current time in the (seconds, microseconds) format