I am new to hazelcast and using it for shared Cache.
We have two nodes which are using shared cache.
Now, we are having one API exposed which will refresh the shared cache on one node, but, we need to refresh the near cache on each node.
If we want to refresh the shared cache, we will get the cache, clear it and repopulate it.
But, I am not sure how to refresh only the near cache.
Basically, I want to refresh the shared cache from the node where the API is being hit, so it will refresh the near cache as well on that node. And only need to refresh near cache of the other node.
Can someone please let me know if we can refresh only near cache without refreshing the complete shared cache and how to do it with example?
Thanks in advance for your help.