java.util.concurrent.atomic Package

java.util.concurrent.atomic Package : A small toolkit of classes that support lock-free thread-safe programming on single variables.

Classes in java.util.concurrent.atomic Package

S.No Class & Description
1 AtomicBoolean

A boolean value that may be updated atomically.
2 AtomicInteger

An int value that may be updated atomically.
3 AtomicIntegerArray

An int array in which elements may be updated atomically.
4 AtomicIntegerFieldUpdater<T>

A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes.
5 AtomicLong

A long value that may be updated atomically.
6 AtomicLongArray

A long array in which elements may be updated atomically.
7 AtomicLongFieldUpdater<T>

A reflection-based utility that enables atomic updates to designated volatile long fields of designated classes.
8 AtomicMarkableReference<V>

An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically.
9 AtomicReference<V>

An object reference that may be updated atomically.
10 AtomicReferenceArray<E>

An array of object references in which elements may be updated atomically.
11 AtomicReferenceFieldUpdater<T,V>

A reflection-based utility that enables atomic updates to designated volatile reference fields of designated classes.
12 AtomicStampedReference<V>

An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically.
13 DoubleAccumulator

One or more variables that together maintain a running double value updated using a supplied function.
14 DoubleAdder

One or more variables that together maintain an initially zero double sum.
15 LongAccumulator

One or more variables that together maintain a running long value updated using a supplied function.
16 LongAdder

One or more variables that together maintain an initially zero long sum.

Ask your questions in eHowToNow Forum

Post your technical, non-technical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers

  1. Java – AtomicLong Class
  2. Java – AtomicReferenceFieldUpdater Class
  3. Java – AtomicLongArray Class
  4. Java – AtomicReference Class
  5. Java – AtomicReferenceArray Class
  6. Java – LongAdder Class
  7. Java – AtomicLongFieldUpdater Class
  8. Java – AtomicStampedReference Class
  9. java.util.concurrent.atomic Package
  10. Java – AtomicBoolean Class
  11. Java – AtomicInteger Class
  12. Java – AtomicIntegerFieldUpdater Class
  13. Java – DoubleAccumulator Class
  14. Java – AtomicIntegerArray Class
  15. Java – LongAccumulator Class

Be the first to comment

Leave a Reply