Filter caching singleton. It can be used
to save filters locally for reuse.
This class makes it possble to cache Filters even when using RMI, as it
keeps the cache on the seaercher side of the RMI connection.
Also could be used as a persistent storage for any filter as long as the
filter provides a proper hashCode(), as that is used as the key in the cache.
The cache is periodically cleaned up from a separate thread to ensure the
cache doesn't exceed the maximum size.
The FilterManager..::..FilterCleaner type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FilterManager..::..FilterCleaner | Initializes a new instance of the FilterManager..::..FilterCleaner class |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Run | ||
ToString | (Inherited from Object.) |