You can probably iterate on the entries here so that you don't have to call m_partitionAtHost.get() again in the loop.