Jason, You may try to take a look at *org.apache.ignite.internal.visor.node.VisorNodeDataCollectorTask*. This is internal task for Web Console / Visor CMD / Visor GUI tools. This task collect from all nodes in grid VisorCache via *org.apache.ignite.internal.visor.node.VisorNodeDataCollectorJob*.
You may take a look how caches metrics collected. Also see *org.apache.ignite.internal.visor.cache.VisorCachePartitionsTask* and related classes. You may write you own task taking mentioned classes as example and periodically execute that task on your cluster and collect metrics. Please NOTE, mentioned classes are in internal package and it is not recommended to use them directly, as they may change without notification. Hope this help. On Thu, Jul 28, 2016 at 9:32 PM, Jason <[email protected]> wrote: > Thanks Alexey. It's very useful. > > getOffHeapAllocatedSize is the real off-heap memory that is used by the > cache? > > These two MXBean provide some primary information for the Ignite and cache, > but seems that they haven't provided the partition assignment info for each > cache on the node. > > thanks, > -Jason > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/How-to-monitor-the-cache-info-tp6515p6589.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Alexey Kuznetsov GridGain Systems www.gridgain.com
