Show / Hide Table of Contents

    Class NameInt32CacheLRU

    An an LRU cache of mapping from name to int. Used to cache Ordinals of category paths.

    NOTE: This was NameIntCacheLRU in Lucene

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    NameInt32CacheLRU
    NameHashInt32CacheLRU
    Namespace: Lucene.Net.Facet.Taxonomy.WriterCache
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class NameInt32CacheLRU : object
    Remarks

    Note: Nothing in this class is synchronized. The caller is assumed to be synchronized so that no two methods of this class are called concurrently.

    Properties

    | Improve this Doc View Source

    Count

    Number of entries currently in the cache.

    Declaration
    public virtual int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Limit

    Maximum number of cache entries before eviction.

    Declaration
    public virtual int Limit { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)