@logExceptions(_LOGGER)<EOL><INDENT>@g_retrySQL<EOL>def jobIncrementIntField(self, jobID, fieldName, increment=<NUM_LIT:1>,<EOL>useConnectionID=False):<DEDENT>
<EOL>dbFieldName = self._jobs.pubToDBNameDict[fieldName]<EOL>with ConnectionFactory.get() as conn:<EOL><INDENT>query = '<STR_LIT>''<STR_LIT>'% (self.jobsTableName, dbFieldName, dbFieldName)<EOL>sqlParams = [increment, jobID]<EOL>if useConnectionID:<EOL><INDENT>query += '<STR_LIT>'<EOL>sqlParams.append(self._connectionID)<EOL><DEDENT>result = conn.cursor.execute(query, sqlParams)<EOL><DEDENT>if result != <NUM_LIT:1>:<EOL><INDENT>raise RuntimeError(<EOL>"<STR_LIT>""<STR_LIT>" % (<EOL>dbFieldName, jobID, self._connectionID, result, query))<EOL><DEDENT>
Incremet the value of 1 field in a job by increment. The 'fieldName' is
        the public name of the field (camelBack, not the lower_case_only form as
        stored in the DB).

        This method is used for example by HypersearcWorkers to update the
        engWorkerState field periodically. By qualifying on curValue, it insures
        that only 1 worker at a time is elected to perform the next scheduled
        periodic sweep of the models.

        Parameters:
        ----------------------------------------------------------------
        jobID:        jobID of the job record to modify
        fieldName:    public field name of the field
        increment:    increment is added to the current value of the field