Click or drag to resize
AtomicReferenceT Class
Implementation of the java.concurrent.util AtomicReference type. Uses MemoryBarrier internally to enforce ordering of writes without any explicit locking. .NET's strong memory on write guarantees might already enforce this ordering, but the addition of the MemoryBarrier guarantees it.
Inheritance Hierarchy
SystemObject
  Akka.UtilAtomicReferenceT

Namespace: Akka.Util
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public class AtomicReference<T>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Akka.Util.AtomicReference`1"]

The AtomicReferenceT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCompareAndSet
If Value equals [!:expected], then set the Value to [!:newValue]. Returns true if [!:newValue] was set, false otherise.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
  NameDescription
Public operatorStatic member(T to AtomicReferenceT)
Implicit conversion operator = allows us to cast any type directly into a AtomicReferenceT instance.
Public operatorStatic member(AtomicReferenceT to T)
Implicit conversion operator = automatically casts the AtomicReferenceT to an instance of
Top
Extension Methods
Fields
  NameDescription
Protected fieldatomicValue
Top
Properties
  NameDescription
Public propertyValue
The current value of this AtomicReferenceT
Top
See Also