Apache Ignite.NET
Apache.Ignite.Core.DataStructures.IAtomicSequence Interface Reference

Represents a distributed atomic sequence of numbers. More...

Public Member Functions

long Read ()
 Returns current value. More...
 
long Increment ()
 Increments current value and returns result. More...
 
long Add (long value)
 Adds specified value to the current value and returns result. More...
 
void Close ()
 Closes this instance. More...
 

Properties

string Name [get]
 Gets the name of this atomic sequence. More...
 
int BatchSize [get, set]
 Gets local batch size for this atomic sequence. More...
 
bool IsClosed [get]
 Determines whether this instance was removed from cache. More...
 

Detailed Description

Member Function Documentation

long Apache.Ignite.Core.DataStructures.IAtomicSequence.Add ( long  value)
Parameters
valueThe value to add.
Returns
The new value of the atomic sequence.
void Apache.Ignite.Core.DataStructures.IAtomicSequence.Close ( )
long Apache.Ignite.Core.DataStructures.IAtomicSequence.Increment ( )
Returns
The new value of the atomic sequence.
long Apache.Ignite.Core.DataStructures.IAtomicSequence.Read ( )
Returns
Current value of the atomic sequence.

Property Documentation

int Apache.Ignite.Core.DataStructures.IAtomicSequence.BatchSize
getset
Returns
Sequence batch size.
bool Apache.Ignite.Core.DataStructures.IAtomicSequence.IsClosed
get
Returns
True if this atomic was removed from cache; otherwise, false.
string Apache.Ignite.Core.DataStructures.IAtomicSequence.Name
get

Name of this atomic sequence.