Stay organized with collections
Save and categorize content based on your preferences.
java.util.concurrent.atomic
Classes
AtomicBoolean |
A boolean value that may be updated atomically.
|
AtomicInteger |
An int value that may be updated atomically.
|
AtomicIntegerArray |
An int array in which elements may be updated atomically.
|
AtomicIntegerFieldUpdater |
A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes.
|
AtomicLong |
A long value that may be updated atomically.
|
AtomicLongArray |
A long array in which elements may be updated atomically.
|
AtomicLongFieldUpdater |
A reflection-based utility that enables atomic updates to designated volatile long fields of designated classes.
|
AtomicMarkableReference |
An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically.
|
AtomicReference |
An object reference that may be updated atomically.
|
AtomicReferenceArray |
An array of object references in which elements may be updated atomically.
|
AtomicReferenceFieldUpdater |
A reflection-based utility that enables atomic updates to designated volatile reference fields of designated classes.
|
AtomicStampedReference |
An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically.
|
DoubleAccumulator |
One or more variables that together maintain a running double value updated using a supplied function.
|
DoubleAdder |
One or more variables that together maintain an initially zero double sum.
|
LongAccumulator |
One or more variables that together maintain a running long value updated using a supplied function.
|
LongAdder |
One or more variables that together maintain an initially zero long sum.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# java.util.concurrent.atomic\n===========================\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [AtomicBoolean](/reference/kotlin/java/util/concurrent/atomic/AtomicBoolean) | A `boolean` value that may be updated atomically. |\n| [AtomicInteger](/reference/kotlin/java/util/concurrent/atomic/AtomicInteger) | An `int` value that may be updated atomically. |\n| [AtomicIntegerArray](/reference/kotlin/java/util/concurrent/atomic/AtomicIntegerArray) | An `int` array in which elements may be updated atomically. |\n| [AtomicIntegerFieldUpdater](/reference/kotlin/java/util/concurrent/atomic/AtomicIntegerFieldUpdater) | A reflection-based utility that enables atomic updates to designated `volatile int` fields of designated classes. |\n| [AtomicLong](/reference/kotlin/java/util/concurrent/atomic/AtomicLong) | A `long` value that may be updated atomically. |\n| [AtomicLongArray](/reference/kotlin/java/util/concurrent/atomic/AtomicLongArray) | A `long` array in which elements may be updated atomically. |\n| [AtomicLongFieldUpdater](/reference/kotlin/java/util/concurrent/atomic/AtomicLongFieldUpdater) | A reflection-based utility that enables atomic updates to designated `volatile long` fields of designated classes. |\n| [AtomicMarkableReference](/reference/kotlin/java/util/concurrent/atomic/AtomicMarkableReference) | An `AtomicMarkableReference` maintains an object reference along with a mark bit, that can be updated atomically. |\n| [AtomicReference](/reference/kotlin/java/util/concurrent/atomic/AtomicReference) | An object reference that may be updated atomically. |\n| [AtomicReferenceArray](/reference/kotlin/java/util/concurrent/atomic/AtomicReferenceArray) | An array of object references in which elements may be updated atomically. |\n| [AtomicReferenceFieldUpdater](/reference/kotlin/java/util/concurrent/atomic/AtomicReferenceFieldUpdater) | A reflection-based utility that enables atomic updates to designated `volatile` reference fields of designated classes. |\n| [AtomicStampedReference](/reference/kotlin/java/util/concurrent/atomic/AtomicStampedReference) | An `AtomicStampedReference` maintains an object reference along with an integer \"stamp\", that can be updated atomically. |\n| [DoubleAccumulator](/reference/kotlin/java/util/concurrent/atomic/DoubleAccumulator) | One or more variables that together maintain a running `double` value updated using a supplied function. |\n| [DoubleAdder](/reference/kotlin/java/util/concurrent/atomic/DoubleAdder) | One or more variables that together maintain an initially zero `double` sum. |\n| [LongAccumulator](/reference/kotlin/java/util/concurrent/atomic/LongAccumulator) | One or more variables that together maintain a running `long` value updated using a supplied function. |\n| [LongAdder](/reference/kotlin/java/util/concurrent/atomic/LongAdder) | One or more variables that together maintain an initially zero `long` sum. |"]]