CSharp
CSharp

Reputation: 39

Apache Ignite .Net CacheEvent

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?

Upvotes: 0

Views: 41

Answers (1)

Pavel Tupitsyn
Pavel Tupitsyn

Reputation: 9006

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.

Upvotes: 1

Related Questions