1
votes

Can continuous query in Apache Ignite watch updates over AtomicLong type?

Can I just treat AtomicLong as common key value pair in Ignite?

1

1 Answers

2
votes

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.