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
@lucene.experimental
Inheritance
System.Object
NameInt32CacheLRU
Assembly: DistributedLucene.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
Name | Description |
---|---|
Count | Number of entries currently in the cache. |
Limit | Maximum number of cache entries before eviction. |