For example: I have two caches :A and B. When I start event listening, I will listen for A and B's cached events, but I only want to listen for A's events. How do I do it?
CacheEvent
class has CacheName
property, you can ignore events for irrelevant caches with that.
Alternatively, use Continuous Queries to handle data changes on a per-cache basis.