Map<Key, Entity> entities = getEntities("querySlot", slot.getWaitingOnMeKeys());
Map<Key, Barrier> barriers = new HashMap<>(entities.size());
for (Map.Entry<Key, Entity> entry : entities.entrySet()) {
barriers.put(entry.getKey(), new Barrier(entry.getValue()));
}
slot.inflate(barriers);
inflateBarriers(barriers.values());
}
return slot;
}