ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kukushkin <kukushkinale...@gmail.com>
Subject Re: Cache Size Monitor -- without making a remote call??
Date Fri, 08 Sep 2017 15:07:44 GMT
Chris,

Do you need other metrics besides the cache size? If not, then your code
above could be replaced with one line:

return ignite.cache(cacheName).localSize(CachePeekMode.PRIMARY);


-- 
Best regards,
Alexey

Mime
View raw message