Rather than use an AtomicLong, I would recommend just using a plain long here.