1 java.util.concurrent.atomic.AtomicInteger
An int value that may be updated atomically,用途举例,统计某个网页的访问次数,普通的整形变量自增统计有并发问题.
2 java.util.concurrent.atomic.AtomicIntegerArray
An int array in which elements may be updated atomically
3 java.util.concurrent.atomic.AtomicIntegerFieldUpdater<T>
A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes
更多原子操作相关类
https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/package-summary.html