Package com.oracle.coherence.concurrent.atomic
A small toolkit of classes that support lock-free thread-safe programming on single variables.
- Since:
- 21.12
-
Interface Summary Interface Description AsyncAtomicBoolean Abooleanvalue that may be updated atomically.AsyncAtomicInteger Aintvalue that may be updated atomically.AsyncAtomicLong Alongvalue that may be updated atomically.AsyncAtomicMarkableReference<V> AnAtomicMarkableReferencemaintains an object reference along with a mark bit, that can be updated atomically.AsyncAtomicReference<V> An object reference that may be updated atomically.AsyncAtomicStampedReference<V> AnAtomicStampedReferencemaintains an object reference along with an integer "stamp", that can be updated atomically.AtomicBoolean Abooleanvalue that may be updated atomically.AtomicInteger Anintvalue that may be updated atomically.AtomicLong Alongvalue that may be updated atomically.AtomicMarkableReference<V> AnAtomicMarkableReferencemaintains an object reference along with a mark bit, that can be updated atomically.AtomicReference<V> An object reference that may be updated atomically.AtomicStampedReference<V> AnAtomicStampedReferencemaintains an object reference along with an integer "stamp", that can be updated atomically. -
Class Summary Class Description AsyncLocalAtomicBoolean Local implementation ofAsyncAtomicBooleaninterface, that simply wrapsjava.util.concurrent.atomic.AtomicBooleaninstance and returns an already completed future from each method.AsyncLocalAtomicInteger Local implementation ofAsyncAtomicIntegerinterface, that simply wrapsjava.util.concurrent.atomic.AtomicIntegerinstance and returns an already completed future from each method.AsyncLocalAtomicLong Local implementation ofAsyncAtomicLonginterface, that simply wrapsjava.util.concurrent.atomic.AtomicLonginstance and returns an already completed future from each method.AsyncLocalAtomicMarkableReference<V> Local implementation ofAsyncAtomicMarkableReferenceinterface, that simply wrapsjava.util.concurrent.atomic.AtomicMarkableReferenceinstance and returns an already completed future from each method.AsyncLocalAtomicReference<V> Local implementation ofAsyncAtomicReferenceinterface, that simply wrapsjava.util.concurrent.atomic.AtomicReferenceinstance and returns an already completed future from each method.AsyncLocalAtomicStampedReference<V> Local implementation ofAsyncAtomicStampedReferenceinterface, that simply wrapsjava.util.concurrent.atomic.AtomicStampedReferenceinstance and returns an already completed future from each method.AsyncRemoteAtomicBoolean The remote implementation ofAsyncAtomicBoolean, backed by a CoherenceNamedMapentry.AsyncRemoteAtomicInteger The remote implementation ofAsyncAtomicInteger, backed by a CoherenceNamedMapentry.AsyncRemoteAtomicLong The remote implementation ofAsyncAtomicLong, backed by a CoherenceNamedMapentry.AsyncRemoteAtomicMarkableReference<V> The remote implementation ofAsyncAtomicMarkableReference, backed by a CoherenceNamedMapentry.AsyncRemoteAtomicReference<V> The remote implementation ofAsyncAtomicReference, backed by a CoherenceNamedMapentry.AsyncRemoteAtomicStampedReference<V> The remote implementation ofAsyncAtomicStampedReference, backed by a CoherenceNamedMapentry.AtomicBoolean.Serializer POF serializer implementation.AtomicInteger.Serializer POF serializer implementation.AtomicLong.Serializer POF serializer implementation.AtomicMarkableReference.Serializer<V> POF serializer implementation.AtomicReference.Serializer<V> POF serializer implementation.Atomics Factory methods for various atomic value implementations.Atomics.SerializableAtomicMarkableReference<V> Extension toAtomicMarkableReferenceto allow Java serialization.Atomics.SerializableAtomicStampedReference<V> Extension toAtomicStampedReferenceto allow Java serialization.AtomicStampedReference.Serializer<V> POF serializer implementation.LocalAtomicBoolean Local implementation ofAtomicBooleaninterface, that simply wrapsjava.util.concurrent.atomic.AtomicBooleaninstance.LocalAtomicInteger Local implementation ofAtomicIntegerinterface, that simply wrapsjava.util.concurrent.atomic.AtomicIntegerinstance.LocalAtomicLong Local implementation ofAtomicLonginterface, that simply wrapsjava.util.concurrent.atomic.AtomicLonginstance.LocalAtomicMarkableReference<V> Local implementation ofAtomicMarkableReferenceinterface, that simply wrapsjava.util.concurrent.atomic.AtomicMarkableReferenceinstance.LocalAtomicReference<V> Local implementation ofAtomicReferenceinterface, that simply wrapsjava.util.concurrent.atomic.AtomicReferenceinstance.LocalAtomicStampedReference<V> Local implementation ofAtomicStampedReferenceinterface, that simply wrapsjava.util.concurrent.atomic.AtomicStampedReferenceinstance.RemoteAtomicBoolean The remote implementation ofAtomicBoolean, backed by a CoherenceNamedMapentry.RemoteAtomicInteger The remote implementation ofAtomicInteger, backed by a CoherenceNamedMapentry.RemoteAtomicLong The remote implementation ofAtomicLong, backed by a CoherenceNamedMapentry.RemoteAtomicMarkableReference<V> The remote implementation ofAtomicMarkableReference, backed by a CoherenceNamedMapentry.RemoteAtomicReference<V> The remote implementation ofAtomicReference, backed by a CoherenceNamedMapentry.RemoteAtomicStampedReference<V> The remote implementation ofAtomicStampedReference, backed by a CoherenceNamedMapentry.