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
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 SourceCount
Number of entries currently in the cache.
Declaration
public virtual int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Limit
Maximum number of cache entries before eviction.
Declaration
public virtual int Limit { get; }
Property Value
Type | Description |
---|---|
System.Int32 |