The FilterManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FilterManager | Sets up the FilterManager singleton. |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from 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 | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInstance | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.) |
Fields
Name | Description | |
---|---|---|
cache | The cache itself | |
cacheCleanSize | Maximum allowed cache size | |
cleanSleepTime | Cache cleaning frequency | |
DEFAULT_CACHE_CLEAN_SIZE | The default maximum number of Filters in the cache | |
DEFAULT_CACHE_SLEEP_TIME | The default frequency of cache clenup | |
filterCleaner | Cache cleaner that runs in a separate thread | |
manager |