Search Results for

    Show / Hide Table of Contents

    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):

    • Get(TK), TryGet(TK, out TV)
    • GetAll(IEnumerable<TK>)
    • ContainsKey(TK), ContainsKeys(IEnumerable<TK>)
    • LocalPeek(TK, CachePeekMode[]), TryLocalPeek(TK, out TV, CachePeekMode[])
    • GetLocalEntries(CachePeekMode[])
    • GetLocalSize(CachePeekMode[])
    • Query(QueryBase) with ScanQuery<TK, TV>

    Inheritance
    System.Object
    PlatformCacheConfiguration
    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
    In This Article
    Back to top © 2015 - 2019 The Apache Software Foundation