Interface IKeyFilter
IkeyFilter allows the user to filter cache data based on its keys before being provided to the Mapper. The KeyFilter is called during Mapper’s execution. If it returns true, the Map will be executed on the key. If it returns false, Mapper will skip the key and move to next one from the Cache.
Note: If no filter is applied than the whole cache data will be mapped.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IKeyFilter
Methods
Name | Description |
---|---|
FilterKey(Object) | Implement the interface IKeyFilter to provide implementation for the FilterKey() method. Providing this interface is optional. |