ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pradeepchanumolu <pradeepb...@gmail.com>
Subject Cache size in Memory
Date Mon, 02 Oct 2017 20:35:55 GMT
Hi , 

Can someone let me know how to get the stats of the cache like how large
(like how many MB/GB) is the cache in memory (both on and off heap)? 

Currently, I can only get number of entries in the cache using the
cache.size(CachePeekMode.ONHEAP), cache.size(CachePeekMode.OFFHEAP). 

cache.metrics() returns the Cache Metrics but doesn't have any methods to
return the total size in gb/mb of the cache in memory. 

Sent from: http://apache-ignite-users.70518.x6.nabble.com/

View raw message