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
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.Cache.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public class NearCacheConfiguration
Constructors
NearCacheConfiguration()
Initializes a new instance of the NearCacheConfiguration class.
Declaration
public NearCacheConfiguration()
Fields
DefaultNearStartSize
Initial default near cache size.
Declaration
public const int DefaultNearStartSize = 375000
Field 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 |