}
final ComputationCycleQuery cacheQuery = new ComputationCycleQuery();
cacheQuery.setCalculationConfigurationName(entry.getKey());
cacheQuery.setValueSpecifications(requiredSpecs);
final ComputationCacheResponse computationCacheResponse = viewCycle.queryComputationCaches(cacheQuery);
if (computationCacheResponse.getResults().size() != requiredSpecs.size()) {
s_logger.debug("Failed to get all results from computation cache");
}
final Map<TKey, Pair<ValueSpecification, Object>> infos = Maps.uniqueIndex(computationCacheResponse.getResults(),
new Function<Pair<ValueSpecification, Object>, TKey>() {
@Override
public TKey apply(final Pair<ValueSpecification, Object> from) {
return getKey(from.getFirst());