@Cacheable(value = DIST_CACHE_FILE_ENTRIES, key = "#user.userId")
	public List<FileEntry> getAll(User user) {
		prepare(user);
		List<FileEntry> allFileEntries;
		try {
			allFileEntries = fileEntityRepository.findAll(user);
		} catch (Exception e) {
			// Try once more for the case of the underlying file system fault.
			ThreadUtils.sleep(3000);
			allFileEntries = fileEntityRepository.findAll(user);
		}
		return unmodifiableList(allFileEntries);
	}
Get all {@link FileEntry} for the given user. This method is subject to
be cached because it takes time.

@param user user
@return cached {@link FileEntry} list
ngrinder-controller/src/main/java/org/ngrinder/script/service/FileEntryService.java