for (Map.Entry<Integer, Map<I, VertexMutations<I, V, E>>> entry :
remainingMutationsCache.entrySet()) {
WritableRequest writableRequest =
new SendPartitionMutationsRequest<I, V, E>(
entry.getKey(), entry.getValue());
PartitionOwner partitionOwner =
serviceWorker.getVertexPartitionOwner(
entry.getValue().keySet().iterator().next());
doRequest(partitionOwner.getWorkerInfo(), writableRequest);
}
}