Class NameInt32CacheLru
An an LRU cache of mapping from name to int. Used to cache Ordinals of category paths.
NOTE: This was NameIntCacheLRU in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
Namespace: Lucene.Net.Facet.Taxonomy.WriterCache
Assembly: Lucene.Net.Facet.dll
Syntax
public class NameInt32CacheLru : 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
Count
Number of entries currently in the cache.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
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.
Limit
Maximum number of cache entries before eviction.
Declaration
public int Limit { get; }
Property Value
Type | Description |
---|---|
int |
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.