[ 
https://issues.apache.org/jira/browse/IGNITE-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287965#comment-14287965
 ] 

Dmitriy Setrakyan commented on IGNITE-49:
-----------------------------------------

Additionally, after consulting with Yakov, I think that ClusterNode should 
continue to return ClusterMetrics as a snapshot (I was wrong in my initial 
suggestion that it should be ClusterNodeMetrixMBean).

So, to summarize:
# {{IgniteCache.metrcis()}} should continue to return {{CacheMetrics}} snapshot
# {{IgntieCacheMxBean}} should inherit from {{CacheStatisticsMxBean}} and 
return current values (not snapshot) together with additional cache management 
functionality we have.
# We should add method {{IgniteCache.mxBean()}} which will return 
{{IgniteCacheMxBean}}
# {{ClusterNode.metrics()}} method should return an instance of 
{{ClusterMetrics}} snapshot.
# {{ClusterNodeMetricsMBean}} should become {{ClusterNodeMetricsMxBean}} and 
continue to work as before.
# We should also probably rename all MBean classes to MxBean (Yakov, please 
comment if you disagree here)

> Implement statistics and management 
> ------------------------------------
>
>                 Key: IGNITE-49
>                 URL: https://issues.apache.org/jira/browse/IGNITE-49
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: cache
>            Reporter: Semen Boikov
>            Assignee: Nikolay Tikhonov
>             Fix For: sprint-1
>
>         Attachments: ignite-49.patch
>
>
> See CacheMXBean, CacheStatisticsMXBean. Note: statistics/management can be 
> enabled/disabled at runtime, also see spec '12.4. Statistics Effects of Cache 
> Operations', need to check if it is consistent with current GridGain metrics.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to