AtomicLong

Class AtomicLong

All Implemented Interfaces:
Serializable
public class AtomicLong
extends Number
implements Serializable

A long value that may be updated atomically. See the java.util.concurrent.atomic package specification for description of the properties of atomic variables. An AtomicLong is used in applications such as atomically incremented sequence numbers, and cannot be used as a replacement for a