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, params CachePeekMode[]), TryLocalPeek(TK, out TV, params CachePeekMode[])
    • GetLocalEntries(params CachePeekMode[])
    • GetLocalSize(params CachePeekMode[])
    • Query(QueryBase) with ScanQuery<TK, TV>
    Inheritance
    object
    PlatformCacheConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Apache.Ignite.Core.Cache.Configuration
    Assembly: Apache.Ignite.Core.dll
    Syntax
    public class PlatformCacheConfiguration

    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
    bool

    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
    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
    string
    In this article
    Back to top © 2015 - 2019 The Apache Software Foundation