Most of caching service support to cache any object as key and value pair. But I am looking for a way that objects can be cached as regions or groups. That means, caching objects should be able to group. One or more objects are cached to a group. What ever we do (remove, update) to the group, should be affected to the objects in the group.
I searched about some caching services and found that JCS supports this. I am supposed to implement a common way as it could be used for most of caching services. Does anyone know any way or supportive resource that can be helpful?
Edit: @ cruftex: Assume an Inventory system for small shop. There are stationery items, vegetables, fruits, sweets and their prices and other details are required to be cached. What if I need to clear or do any update only for items that can be eaten (vegetable, fruits, sweets) and not to stationery and any other inedible set of objects that are cached? If there is a way to group like 'edible', 'inedible', I can get or do any changes to the particular group so that all group member instances will be affected.