Freigeben über


Java.Util.Concurrent.Atomic Namespace

This method (which varies in argument types across different classes) atomically sets a variable to the updateValue if it currently holds the expectedValue, reporting true on success.

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.

Striped64

A package-local class holding common representation and mechanics for classes supporting dynamic striping on 64bit values.