DEFAULT_CACHE_CLEAN_SIZE | The default maximum number of Filters in the cache |
DEFAULT_CACHE_SLEEP_TIME | The default frequency of cache clenup |
manager |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetFilter | Returns the cached version of the filter. Allows the caller to pass up a small filter but this will keep a persistent version around and allow the caching filter to do its job. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
SetCacheSize | Sets the max size that cache should reach before it is cleaned up |
SetCleanThreadSleepTime | Sets the cache cleaning frequency in milliseconds. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
FilterManager Constructor | Sets up the FilterManager singleton. |
cache | The cache itself |
cacheCleanSize | Maximum allowed cache size |
cleanSleepTime | Cache cleaning frequency |
filterCleaner | Cache cleaner that runs in a separate thread |
FilterManager Class | Lucene.Net.Search Namespace