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 Aboolean
value that may be updated atomically.AsyncAtomicInteger Aint
value that may be updated atomically.AsyncAtomicLong Along
value that may be updated atomically.AsyncAtomicMarkableReference<V> AnAtomicMarkableReference
maintains 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> AnAtomicStampedReference
maintains an object reference along with an integer "stamp", that can be updated atomically.AtomicBoolean Aboolean
value that may be updated atomically.AtomicInteger Anint
value that may be updated atomically.AtomicLong Along
value that may be updated atomically.AtomicMarkableReference<V> AnAtomicMarkableReference
maintains 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> AnAtomicStampedReference
maintains an object reference along with an integer "stamp", that can be updated atomically. -
Class Summary Class Description AsyncLocalAtomicBoolean Local implementation ofAsyncAtomicBoolean
interface, that simply wrapsjava.util.concurrent.atomic.AtomicBoolean
instance and returns an already completed future from each method.AsyncLocalAtomicInteger Local implementation ofAsyncAtomicInteger
interface, that simply wrapsjava.util.concurrent.atomic.AtomicInteger
instance and returns an already completed future from each method.AsyncLocalAtomicLong Local implementation ofAsyncAtomicLong
interface, that simply wrapsjava.util.concurrent.atomic.AtomicLong
instance and returns an already completed future from each method.AsyncLocalAtomicMarkableReference<V> Local implementation ofAsyncAtomicMarkableReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicMarkableReference
instance and returns an already completed future from each method.AsyncLocalAtomicReference<V> Local implementation ofAsyncAtomicReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicReference
instance and returns an already completed future from each method.AsyncLocalAtomicStampedReference<V> Local implementation ofAsyncAtomicStampedReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicStampedReference
instance and returns an already completed future from each method.AsyncRemoteAtomicBoolean The remote implementation ofAsyncAtomicBoolean
, backed by a CoherenceNamedMap
entry.AsyncRemoteAtomicInteger The remote implementation ofAsyncAtomicInteger
, backed by a CoherenceNamedMap
entry.AsyncRemoteAtomicLong The remote implementation ofAsyncAtomicLong
, backed by a CoherenceNamedMap
entry.AsyncRemoteAtomicMarkableReference<V> The remote implementation ofAsyncAtomicMarkableReference
, backed by a CoherenceNamedMap
entry.AsyncRemoteAtomicReference<V> The remote implementation ofAsyncAtomicReference
, backed by a CoherenceNamedMap
entry.AsyncRemoteAtomicStampedReference<V> The remote implementation ofAsyncAtomicStampedReference
, backed by a CoherenceNamedMap
entry.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 toAtomicMarkableReference
to allow Java serialization.Atomics.SerializableAtomicStampedReference<V> Extension toAtomicStampedReference
to allow Java serialization.AtomicStampedReference.Serializer<V> POF serializer implementation.LocalAtomicBoolean Local implementation ofAtomicBoolean
interface, that simply wrapsjava.util.concurrent.atomic.AtomicBoolean
instance.LocalAtomicInteger Local implementation ofAtomicInteger
interface, that simply wrapsjava.util.concurrent.atomic.AtomicInteger
instance.LocalAtomicLong Local implementation ofAtomicLong
interface, that simply wrapsjava.util.concurrent.atomic.AtomicLong
instance.LocalAtomicMarkableReference<V> Local implementation ofAtomicMarkableReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicMarkableReference
instance.LocalAtomicReference<V> Local implementation ofAtomicReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicReference
instance.LocalAtomicStampedReference<V> Local implementation ofAtomicStampedReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicStampedReference
instance.RemoteAtomicBoolean The remote implementation ofAtomicBoolean
, backed by a CoherenceNamedMap
entry.RemoteAtomicInteger The remote implementation ofAtomicInteger
, backed by a CoherenceNamedMap
entry.RemoteAtomicLong The remote implementation ofAtomicLong
, backed by a CoherenceNamedMap
entry.RemoteAtomicMarkableReference<V> The remote implementation ofAtomicMarkableReference
, backed by a CoherenceNamedMap
entry.RemoteAtomicReference<V> The remote implementation ofAtomicReference
, backed by a CoherenceNamedMap
entry.RemoteAtomicStampedReference<V> The remote implementation ofAtomicStampedReference
, backed by a CoherenceNamedMap
entry.