return Maps.transformValues(submitCompute(items, f), ModulizerUtil.<T> futureCollector());
}
private static <F, T> Map<F, Future<T>> submitCompute(final Iterable<F> items, final Function<? super F, T> f) {
final Pool pool = Resources.getPoolHandle();
final ScheduledExecutorService exec = pool.aquireBlockableExec();
try {
final ImmutableMap.Builder<F, Future<T>> submits = ImmutableMap.builder();
for (final F i : items) {
submits.put(i, exec.submit(new Callable<T>() {
@Override