We can use Ignite's ScanQuery object for example to query only a local cache for entries. Like this:
ScanQuery<Object, Object> qry = new ScanQuery<>()
.setLocal(true);
Now, if we have a cache with cacheConfiguration.setBackups(1), is there any way to query only backup entries, locally stored on a node?
It is possible if we use
igniteCache.localEntries(CachePeekMode.BACKUP);
But, I would really need a ScanQuery here, for its setPageSize method.