Reputation: 847
Can continuous query in Apache Ignite watch updates over AtomicLong type?
Can I just treat AtomicLong as common key value pair in Ignite?
Upvotes: 1
Views: 141
Reputation: 8390
This is not possible for IgniteAtomicLong
, but you can easily create your own atomic counter - create a cache, put a single entry with Long
value and use IgniteCache.invoke(..)
method to atomically update it. In this case you can subscribe for updates with continuous queries.
Upvotes: 2