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
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers
- Java – AtomicIntegerFieldUpdater Class
- Java – AtomicMarkableReference Class
- Java – AtomicIntegerArray Class
- Java – AtomicReference Class
- Java – AtomicLong Class
- Java – LongAdder Class
- Java – AtomicLongArray Class
- Java – AtomicReferenceArray Class
- Java – AtomicBoolean Class
- Java – AtomicReferenceFieldUpdater Class
- Java – LongAccumulator Class
- Java – DoubleAccumulator Class
- Java – DoubleAdder Class
- Java – AtomicInteger Class
- Java – AtomicStampedReference Class
Leave a Reply
You must be logged in to post a comment.