Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes | Namespaces
SegmentCache.cs File Reference

Go to the source code of this file.

Classes

class  Lucene.Net.Util.Cache.AbstractSegmentCache
 Root custom cache to allow a factory to retain references to the custom caches without having to be aware of the type. More...
 
class  Lucene.Net.Util.Cache.SegmentCache< T >
 Custom cache with two levels of keys, outer key is the IndexReader with the inner key being a string, commonly a field name but can be anything. Refer to the unit tests for an example implementation.

Template Parameters
TThe type that is being cached.
More...
 
class  Lucene.Net.Util.Cache.SegmentCache< T >.WeakKey
 A weak referene wrapper for the hashtable keys. Whenever a key pair is added to the hashtable, the key is wrapped using a WeakKey. WeakKey saves the value of the original object hashcode for fast comparison.
 

Namespaces

package  Lucene.Net.Util.Cache