def renew(key, write = true, options = {})
      new_version = (Time.current.to_f * 10000).to_i
      seconds = options[:ttl] ? options[:ttl] + (rand(options[:ttl] / 2) * [1, -1].sample) : nil
      written = @store.write(key, new_version, {:expires_in => seconds})
      @on_write_failure.call(key) if !written && write && @on_write_failure
      RecordCache::Base.logger.debug{ "Version Store: renew #{key}: nil => #{new_version}" }
      new_version
    end
def renew(key, write = true, options = {})
      new_version = (Time.current.to_f * 10000).to_i
      seconds = options[:ttl] ? options[:ttl] + (rand(options[:ttl] / 2) * [1, -1].sample) : nil
      written = @store.write(key, new_version, {:expires_in => seconds})
      @on_write_failure.call(key) if !written && write && @on_write_failure
      RecordCache::Base.logger.debug{ "Version Store: renew #{key}: nil => #{new_version}" }
      new_version
    end
Call this method to reset the key to a new (unique) version