Represents a named value in the distributed cache.
More...
|
| T | Read () |
| | Reads current value of an atomic reference. More...
|
| |
| void | Write (T value) |
| | Writes current value of an atomic reference. More...
|
| |
| T | CompareExchange (T value, T comparand) |
| | Compares current value with specified value for equality and, if they are equal, replaces current value. More...
|
| |
| void | Close () |
| | Closes this instance. More...
|
| |
|
| string | Name [get] |
| | Gets the name of this atomic reference. More...
|
| |
| bool | IsClosed [get] |
| | Determines whether this instance was removed from cache. More...
|
| |
- Parameters
-
| value | The value to set. |
| comparand | The value that is compared to the current value. |
- Returns
- Original value of the atomic reference.
- Returns
- Current value of an atomic reference.
- Returns
- True if this atomic was removed from cache; otherwise, false.
Name of this atomic reference.