'Updates the extraSpecs with intervals and retries values.
:param extra_specs:
:param interval: Interval in seconds between retries
:param retries: Retry count
:returns: Updated extra_specs'

@staticmethod
def _update_intervals_and_retries(extra_specs, interval, retries):

    extra_specs[INTERVAL] = interval
    LOG.debug('The    interval    is    set    at:    %(intervalInSecs)s.', {'intervalInSecs': interval})
    extra_specs[RETRIES] = retries
    LOG.debug('Retries    are    set    at:    %(retries)s.', {'retries': retries})
    return extra_specs
