executor.submit(new Runnable() {
public void run() {
for (Map.Entry<ChunkKey, ChunkMeta> ent
: toPutIntoCache.entrySet()) {
ChunkKey key = ent.getKey();
Change op = Change.put(nsMeta.key(key),
ent.getValue().toByteArray());
client.modify(singleton(op), none);
}
}
});