'Method records current time as the poll time.
:return: time in seconds since the last poll time was recorded'

def _record_poll_time(self):

    current_time = timeutils.utcnow()
    duration = None
    if hasattr(self, '_last_poll_time'):
        duration = timeutils.delta_seconds(self._last_poll_time, current_time)
    self._last_poll_time = current_time
    return duration
