@Override public void tick(Stock stock) { ticks.add((Stock) stock.clone()); Iterator<AsyncContext> it = clients.iterator(); while (it.hasNext()) { AsyncContext actx = it.next(); try { writeStock(actx, stock); } catch (Exception e) { // Ignore. The async error handling will deal with this. } } }