You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2013/10/22 18:19:43 UTC
[jira] [Resolved] (SLING-3200) Avoid duplicated requests to mbeans
when creating resources
[ https://issues.apache.org/jira/browse/SLING-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-3200.
-------------------------------------
Resolution: Fixed
I've changed the implementation to reduce the get attribute value calls to a minimum by leveraging already available information from the parent resource.
Done in rev 1534693
> Avoid duplicated requests to mbeans when creating resources
> -----------------------------------------------------------
>
> Key: SLING-3200
> URL: https://issues.apache.org/jira/browse/SLING-3200
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: JMX Resource Provider 0.5.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: JMX Resource Provider 0.7.0
>
>
> The current implementation is not very optimal, it queries attribute values of an mbean over and over again, especially when a whole mbean is outputted as a resource tree, e.g. when converted to json
--
This message was sent by Atlassian JIRA
(v6.1#6144)