Thank you, good to know.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-metrics-cache-hits-and-misses-are-0-also-isEmpty-in-inconsistent-state-with-getSize-tp4769p4810.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
e overall behavior?
>
> Could be it controlled over JMX?
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Cache-metrics-cache-hits-and-misses-are-0-also-isEmpty-in-inconsistent-state-with-getSize-tp4769p4783.html
> Sent from the Apache
pache-ignite-users.70518.x6.nabble.com/Cache-metrics-cache-hits-and-misses-are-0-also-isEmpty-in-inconsistent-state-with-getSize-tp4769p4783.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
--
Alexey Kuznetsov
GridGain Systems
www.gridgain.com
So, it is not recommended to turn them on in production?
Then how you measure you cache overall behavior?
Could be it controlled over JMX?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-metrics-cache-hits-and-misses-are-0-also-isEmpty-in-inconsistent
/Cache-metrics-cache-hits-and-misses-are-0-also-isEmpty-in-inconsistent-state-with-getSize-tp4769p4782.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Adding
TimeUnit.SECONDS.sleep(5); // just to be sure we gave enough time for
metrics to be updated
Does not make any difference. Just to mention.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-metrics-cache-hits-and-misses-are-0-also-isEmpty-in
assert cache.metrics().getSize() == 1;
assert !cache.metrics().isEmpty();
}
}
It worked fine (i.e. isEmpty() is false now), but still both cacheHits and
cacheMisses are 0.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-metrics-cache-hits-