Package ganeti :: Module jqueue :: Class _SimpleJobQuery
[hide private]
[frames] | no frames]

Class _SimpleJobQuery

source code

Wrapper for job queries.

Instance keeps list of fields cached, useful e.g. in _JobChangesChecker.

Instance Methods [hide private]
 
__init__(self, fields)
Initializes this class.
source code
 
__call__(self, job)
Executes a job query using cached field list.
source code