def get_unit(key)
    @prior_values[key] ||= 0.0
    begin
      key, value = @space.take([key, Float], @timeout)
      @prior_values[key] = value
    rescue Rinda::RequestExpiredError => exception
      if source_factories.empty?
        value = @prior_values[key]
      else
        value = super
      end
    end
    value
  end
def get_unit(key)
    @prior_values[key] ||= 0.0
    begin
      key, value = @space.take([key, Float], @timeout)
      @prior_values[key] = value
    rescue Rinda::RequestExpiredError => exception
      if source_factories.empty?
        value = @prior_values[key]
      else
        value = super
      end
    end
    value
  end
Get key from Rinda server.