Show / Hide Table of Contents

# Class AtomicConfiguration

Configuration for atomic data structures.

##### Inheritance

System.Object
AtomicConfiguration

##### Inherited Members

System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()

###### Namespace: Apache.Ignite.Core.DataStructures.Configuration

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public class AtomicConfiguration

### 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 = 1000

##### Field Value

Type | Description
--- | ---
System.Int32 |

#### DefaultBackups

Default number of backups.

##### Declaration

    public const int DefaultBackups = 0

##### 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 |