NCache 4.4 - Online Documentation

Overview

 
NCache is providing feature “Named Tags” through which user will be able to associate one or more keywords with cache items. These keywords will act as an identifying mark for the cache items and will be used for querying the cache data.
 
"Named Tags" is the enhancement of "Tags". Consider a scenario where user needs to store an object in textual form such as "xml", he will not be able to search that object using tags. The limitation of tags is that it can only have text values and only one attribute i.e. $Tag$. With named tags user will be able to store additional information (of any type) required to query the object stored as string.
 
Here users are required to provide the list of named tags, each having two parameters, "key" (name of a tag) as string and "value" (assigned value) as any primitive type. NCache then allows you to search your objects through these named tags.
 
If there are multiple applications that are sharing the same cache and all of them are supposed to add named tags, then make sure that the same named tags have homogenous data types, e.g., if one client is adding named tag "ProductID" with String data type, then all other clients should add values of "ProductID" in String format not in Integer or other for the same cache.
 
 
 
See Also