public void start() throws Exception { if (running.compareAndSet(false, true)) { acceptor.start(); mapper.start(); } }