Class NearCacheConfiguration
Defines near cache configuration.
Distributed cache can also be fronted by a Near cache, which is a smaller local cache that stores most recently or most frequently accessed data. Just like with a partitioned cache, the user can control the size of the near cache and its eviction policies.
Inheritance
System.Object
    NearCacheConfiguration
  Namespace: Apache.Ignite.Core.Cache.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public class NearCacheConfiguration : objectConstructors
NearCacheConfiguration()
Initializes a new instance of the NearCacheConfiguration class.
Declaration
public NearCacheConfiguration()Fields
DefaultNearStartSize
Initial default near cache size.
Declaration
public const int DefaultNearStartSize = nullField Value
| Type | Description | 
|---|---|
| System.Int32 | 
Properties
EvictionPolicy
Gets or sets the eviction policy. Null value means disabled evictions.
Declaration
public IEvictionPolicy EvictionPolicy { get; set; }Property Value
| Type | Description | 
|---|---|
| IEvictionPolicy | 
NearStartSize
Gets or sets the initial cache size for near cache which will be used to pre-create internal hash table after start.
Declaration
public int NearStartSize { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 |