Show / Hide Table of Contents

# Enum CacheRebalanceMode

Cache rebalance mode. When rebalancing is enabled (i.e. has value other than None), distributed caches will attempt to rebalance all necessary values from other grid nodes.

Replicated caches will try to load the full set of cache entries from other nodes, while partitioned caches will only load the entries for which current node is primary or backup.

Note that rebalance mode only makes sense for Replicated and Partitioned caches. Caches with Local mode are local by definition and therefore cannot rebalance any values from neighboring nodes.

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

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

##### Syntax

    public enum CacheRebalanceMode

### Fields

Name | Description
--- | ---
Async | Asynchronous rebalance mode. Distributed caches will start immediately and will load all necessary data from other available grid nodes in the background.
None | In this mode no rebalancing will take place which means that caches will be either loaded on demand from persistent store whenever data is accessed, or will be populated explicitly.
Sync | Synchronous rebalance mode. Distributed caches will not start until all necessary data is loaded from other available grid nodes.