Hello everyone.
How do I know real size of a stored data in the IgniteCache?
For example: I created new cache and put one object, and I want to know
real size of one object in cache.
try (Ignite ignite = Ignition.start("cache-config.xml")) {
IgniteCache<Long, MyObject> cache = ignite.getOrCreateCache("myCache");
MyObject obj = new MyObject()
cache.put(obj.getLongId(), obj);
}
I looked at ClusterMetrics and CacheMetrics, but I'am not sure wich method
is real needed to me.
p.s. I haven't found the answer in search.
--
Best Regards, Vyacheslav