GetAtomicReferenceAsync Method
GetAtomicReferenceAsync<T>(string)
Gets an IAtomicReference<T> distributed object.
Declaration
Task<IAtomicReference<T>> GetAtomicReferenceAsync<T>(string name)
Parameters
string | name | The unique name of the atomic reference. |
Returns
Task<IAtomicReference<T>> | The atomic reference that was retrieved or created. |
Type Parameters
T |
Remarks
If an object with the specified name
does not
exist already in the cluster, a new object is created.