Class AtomicConfiguration
Configuration for atomic data structures.
Inheritance
System.Object
AtomicConfiguration
Namespace: Apache.Ignite.Core.DataStructures.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public class AtomicConfiguration : object
Constructors
AtomicConfiguration()
Initializes a new instance of the AtomicConfiguration class.
Declaration
public AtomicConfiguration()
Fields
DefaultAtomicSequenceReserveSize
Default atomic sequence reservation size.
Declaration
public const int DefaultAtomicSequenceReserveSize = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultBackups
Default number of backups.
Declaration
public const int DefaultBackups = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultCacheMode
Default caching mode.
Declaration
public const CacheMode DefaultCacheMode = CacheMode.Partitioned
Field Value
Type | Description |
---|---|
CacheMode |
Properties
AtomicSequenceReserveSize
Gets or sets the default number of sequence values reserved for IAtomicSequence instances. After a certain number has been reserved, consequent increments of sequence will happen locally, without communication with other nodes, until the next reservation has to be made.
Declaration
public int AtomicSequenceReserveSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Backups
Gets or sets number of nodes used to back up single partition for Partitioned cache.
Declaration
public int Backups { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CacheMode
Gets or sets caching mode to use.
Declaration
public CacheMode CacheMode { get; set; }
Property Value
Type | Description |
---|---|
CacheMode |