Apache Ignite.NET
Apache.Ignite.Core.DataStructures.IAtomicReference< T > Interface Template Reference

Represents a named value in the distributed cache. More...

Public Member Functions

Read ()
 Reads current value of an atomic reference. More...
 
void Write (T value)
 Writes current value of an atomic reference. More...
 
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...
 

Properties

string Name [get]
 Gets the name of this atomic reference. More...
 
bool IsClosed [get]
 Determines whether this instance was removed from cache. More...
 

Detailed Description

Member Function Documentation

T Apache.Ignite.Core.DataStructures.IAtomicReference< T >.CompareExchange ( value,
comparand 
)
Parameters
valueThe value to set.
comparandThe value that is compared to the current value.
Returns
Original value of the atomic reference.
Returns
Current value of an atomic reference.
Parameters
valueThe value to set.

Property Documentation

Returns
True if this atomic was removed from cache; otherwise, false.

Name of this atomic reference.