Search Results for

    Show / Hide Table of Contents

    Class EvictionPolicyBase

    Base class for predefined eviction policies.

    Inheritance
    System.Object
    EvictionPolicyBase
    FifoEvictionPolicy
    LruEvictionPolicy
    Implements
    IEvictionPolicy
    Namespace: Apache.Ignite.Core.Cache.Eviction
    Assembly: Apache.Ignite.Core.dll
    Syntax
    public abstract class EvictionPolicyBase : object, IEvictionPolicy

    Fields

    DefaultBatchSize

    Default batch cache size.

    Declaration
    public const int DefaultBatchSize = null
    Field Value
    Type Description
    System.Int32

    DefaultMaxMemorySize

    Default max cache size in bytes.

    Declaration
    public const long DefaultMaxMemorySize = null
    Field Value
    Type Description
    System.Int64

    DefaultMaxSize

    Default max cache size.

    Declaration
    public const int DefaultMaxSize = null
    Field Value
    Type Description
    System.Int32

    Properties

    BatchSize

    Gets or sets the size of the eviction batch. Batch eviction is enabled only if maximum memory limit isn't set (MaxMemorySize == 0).

    Declaration
    public int BatchSize { get; set; }
    Property Value
    Type Description
    System.Int32

    MaxMemorySize

    Gets or sets the maximum allowed cache size in bytes. 0 for unlimited.

    Declaration
    public long MaxMemorySize { get; set; }
    Property Value
    Type Description
    System.Int64

    MaxSize

    Gets or sets the maximum allowed cache size (entry count). 0 for unlimited.

    Declaration
    public int MaxSize { get; set; }
    Property Value
    Type Description
    System.Int32

    Implements

    IEvictionPolicy
    In This Article
    Back to top © 2015 - 2019 The Apache Software Foundation