271272273274275276277278279280281
AtomicityWriter writer = new AtomicityWriter(ctx, rows, FAMILIES); writers.add(writer); ctx.addThread(writer); } // Add a flusher ctx.addThread(new RepeatingTestThread(ctx) { public void doAnAction() throws Exception { util.flush(); } });