Fork me on GitHub
  • API

    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

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    NameInt32CacheLru
    Implements
    INameInt32CacheLru
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Facet.Taxonomy.WriterCache
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class NameInt32CacheLru : IInternalNameInt32CacheLru, INameInt32CacheLru
    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 int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Limit

    Maximum number of cache entries before eviction.

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

    Implements

    INameInt32CacheLru
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.