ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Plehanov <plehanov.a...@gmail.com>
Subject Enable/disable cache statistics in runtime
Date Wed, 29 Nov 2017 20:22:24 GMT
Hello, Igniters!

We need the ability to enable or disable statistics for caches in runtime.
For now, there is a cache configuration property which seems modifiable in
runtime and this, at first sight, works for local node. But there are no
methods to enable or disable statistics for cache cluster wide.

So, I propose:

Create a new JMX operation in
CacheClusterMetricsMXBeanImpl/CacheLocalMetricsMXBeanImpl
to enable/disable statistics for cache. When invoked, operation must set
statisticsEnabled flag in cache configurations. Then send a new type of
DiscoveryCustomMessage, which will set this flag for cache on other nodes
in cluster.

Do you have objections to this solution?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message