Class PlatformCacheConfiguration
Native .NET cache configuration.
Enables native .NET cache. Cache entries will be stored in deserialized form in CLR heap.
When enabled on server nodes, all primary keys will be stored in platform memory as well.
Same eviction policy applies to near cache entries for all keys on client nodes and non-primary keys on server nodes.
Enabling this can greatly improve performance for key-value operations and scan queries, at the expense of RAM usage.
Supported operations (async counterparts included):
Inheritance
Namespace: Apache.Ignite.Core.Cache.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public class PlatformCacheConfiguration : object
Constructors
PlatformCacheConfiguration()
Initializes a new instance of the PlatformCacheConfiguration class.
Declaration
public PlatformCacheConfiguration()
Properties
KeepBinary
Gets or sets a value indicating whether platform cache should store keys and values in binary form.
Declaration
public bool KeepBinary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeyTypeName
Gets or sets fully-qualified platform type name of the cache key used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.
Declaration
public string KeyTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValueTypeName
Gets or sets fully-qualified platform type name of the cache value used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.
Declaration
public string ValueTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |