Class AtomicReference<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Apache.NMS.Util
Assembly: Apache.NMS.dll
Syntax
public class AtomicReference<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceAtomicReference()
Declaration
public AtomicReference()
AtomicReference(T)
Declaration
public AtomicReference(T defaultValue)
Parameters
Type | Name | Description |
---|---|---|
T | defaultValue |
Fields
| Improve this Doc View SourceatomicValue
Declaration
protected T atomicValue
Field Value
Type | Description |
---|---|
T |
Properties
| Improve this Doc View SourceValue
Declaration
public T Value { get; set; }
Property Value
Type | Description |
---|---|
T |
Methods
| Improve this Doc View SourceGetAndSet(T)
Declaration
public T GetAndSet(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value |
Returns
Type | Description |
---|---|
T |