Java Atomicinteger Compare And Settlement