def METHOD_NAME(self, cache_dir):
    """Returns the hash list from cache directory
    :param cache_dir: The path to the cache directory
    :type cache_dir: `str`
    :return: List of hashes
    :rtype: `list`
    """
    hash_list = []
    for file_path in glob.glob(os.path.join(cache_dir, "*.rd")):
        request_hash = os.path.basename(file_path)[:-3]
        hash_list.append(request_hash)
        os.remove(file_path)
    return hash_list