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

Chetan Mehrotra commented on OAK-4978:
--------------------------------------

[~frm] One more improvement we can do here is to have {{role}} added as part of 
JMX Name attributes. This would simplify the lookup of such MBeans. We can 
still continue to append the role to name so as to allow existing code to work 
fine

{noformat}
        mbeans.add(registerMBean(
                whiteboard,
                CacheStatsMBean.class,
                stringCacheStats, CacheStats.TYPE,
                appendRole(stringCacheStats.getName(), role),
                ImmutableMap.of("role", role)
        ));
{noformat}

wdyt?

> Expose maintainence related MBeans for Segment NodeStores created via factory
> -----------------------------------------------------------------------------
>
>                 Key: OAK-4978
>                 URL: https://issues.apache.org/jira/browse/OAK-4978
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar, segmentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Francesco Mari
>             Fix For: 1.6, 1.5.16
>
>         Attachments: OAK-4978-02.patch, OAK-4978-03.patch, OAK-4978.patch
>
>
> With OAK-4655 support was added to initializing multiple segment nodestores 
> and have them exposed via {{NodeStoreProvider}} ties to different roles.
> In some cases such stores are immutable and do not require any maintenance. 
> However for other cases maintenance is required. So we would need to expose 
> various MBean which allow such maintenance activities.



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

Reply via email to