def get_record(self, name, record_id):
        """Retrieve a record with a given type name and record id.

        Args:
            name (string): The name which the record is stored under.
            record_id (int): The id of the record requested.

        Returns:
            :class:`cinder_data.model.CinderModel`: The cached model.
        """
        if name in self._cache:
            if record_id in self._cache[name]:
                return self._cache[name][record_id]