class documentation

Base class for GenericPollJob callbacks.

Method __init__ Initializes this class.
Method CancelJob Cancels a currently running job.
Method QueryJobs Returns the selected fields for the selected job IDs.
Method WaitForJobChangeOnce Waits for changes on a job.
def __init__(self):

Initializes this class.

def CancelJob(self, job_id):

Cancels a currently running job.

Parameters
job_id:numberThe ID of the Job we want to cancel
def QueryJobs(self, job_ids, fields):

Returns the selected fields for the selected job IDs.

Parameters
job_ids:list of numbersJob IDs
fields:list of stringsFields
def WaitForJobChangeOnce(self, job_id, fields, prev_job_info, prev_log_serial, timeout=constants.DEFAULT_WFJC_TIMEOUT):

Waits for changes on a job.