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

Class _JobChangesChecker

source code


Instance Methods [hide private]
 
__init__(self, fields, prev_job_info, prev_log_serial)
Initializes this class.
source code
 
__call__(self, job)
Checks whether job has changed.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fields, prev_job_info, prev_log_serial)
(Constructor)

source code 

Initializes this class.

Parameters:
  • fields (list of strings) - Fields requested by LUXI client
  • prev_job_info (string) - previous job info, as passed by the LUXI client
  • prev_log_serial (string) - previous job serial, as passed by the LUXI client
Overrides: object.__init__

__call__(self, job)
(Call operator)

source code 

Checks whether job has changed.

Parameters: