Package com.oracle.coherence.concurrent.atomic
package com.oracle.coherence.concurrent.atomic
A small toolkit of classes that support lock-free thread-safe programming on single variables.
- Since:
- 21.12
-
ClassDescriptionA
boolean
value that may be updated atomically.Aint
value that may be updated atomically.Along
value that may be updated atomically.AnAtomicMarkableReference
maintains an object reference along with a mark bit, that can be updated atomically.An object reference that may be updated atomically.AnAtomicStampedReference
maintains an object reference along with an integer "stamp", that can be updated atomically.Local implementation ofAsyncAtomicBoolean
interface, that simply wrapsjava.util.concurrent.atomic.AtomicBoolean
instance and returns an already completed future from each method.Local implementation ofAsyncAtomicInteger
interface, that simply wrapsjava.util.concurrent.atomic.AtomicInteger
instance and returns an already completed future from each method.Local implementation ofAsyncAtomicLong
interface, that simply wrapsjava.util.concurrent.atomic.AtomicLong
instance and returns an already completed future from each method.Local implementation ofAsyncAtomicMarkableReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicMarkableReference
instance and returns an already completed future from each method.Local implementation ofAsyncAtomicReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicReference
instance and returns an already completed future from each method.Local implementation ofAsyncAtomicStampedReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicStampedReference
instance and returns an already completed future from each method.The remote implementation ofAsyncAtomicBoolean
, backed by a CoherenceNamedMap
entry.The remote implementation ofAsyncAtomicInteger
, backed by a CoherenceNamedMap
entry.The remote implementation ofAsyncAtomicLong
, backed by a CoherenceNamedMap
entry.The remote implementation ofAsyncAtomicMarkableReference
, backed by a CoherenceNamedMap
entry.The remote implementation ofAsyncAtomicReference
, backed by a CoherenceNamedMap
entry.The remote implementation ofAsyncAtomicStampedReference
, backed by a CoherenceNamedMap
entry.Aboolean
value that may be updated atomically.POF serializer implementation.Anint
value that may be updated atomically.POF serializer implementation.Along
value that may be updated atomically.POF serializer implementation.AnAtomicMarkableReference
maintains an object reference along with a mark bit, that can be updated atomically.POF serializer implementation.An object reference that may be updated atomically.POF serializer implementation.Factory methods for various atomic value implementations.Extension toAtomicMarkableReference
to allow Java serialization.Extension toAtomicStampedReference
to allow Java serialization.AnAtomicStampedReference
maintains an object reference along with an integer "stamp", that can be updated atomically.POF serializer implementation.Local implementation ofAtomicBoolean
interface, that simply wrapsjava.util.concurrent.atomic.AtomicBoolean
instance.Local implementation ofAtomicInteger
interface, that simply wrapsjava.util.concurrent.atomic.AtomicInteger
instance.Local implementation ofAtomicLong
interface, that simply wrapsjava.util.concurrent.atomic.AtomicLong
instance.Local implementation ofAtomicMarkableReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicMarkableReference
instance.Local implementation ofAtomicReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicReference
instance.Local implementation ofAtomicStampedReference
interface, that simply wrapsjava.util.concurrent.atomic.AtomicStampedReference
instance.The remote implementation ofAtomicBoolean
, backed by a CoherenceNamedMap
entry.The remote implementation ofAtomicInteger
, backed by a CoherenceNamedMap
entry.The remote implementation ofAtomicLong
, backed by a CoherenceNamedMap
entry.The remote implementation ofAtomicMarkableReference
, backed by a CoherenceNamedMap
entry.The remote implementation ofAtomicReference
, backed by a CoherenceNamedMap
entry.The remote implementation ofAtomicStampedReference
, backed by a CoherenceNamedMap
entry.