[jira] Created: (SLING-641) Implement cache for bundle resources

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SLING-641) Implement cache for bundle resources

Robert Munteanu (Jira)
Implement cache for bundle resources
------------------------------------

                 Key: SLING-641
                 URL: https://issues.apache.org/jira/browse/SLING-641
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Extensions Bundleresource 2.0.2
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger


When accessing bundle resources, the BundleResourceProvider currently accesses the bundle for each check, which in turn accesses and lock sthe bundle jar file.

A simple cache should be built into the BundleResourceProvider to cache resources found for faster access on future access. This cache should be limited and on a per-bundle level, such that the cache may simply be dropped if the bundle is stopped.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SLING-641) Implement cache for bundle resources

Robert Munteanu (Jira)

    [ https://issues.apache.org/jira/browse/SLING-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627996#action_12627996 ]

Felix Meschberger commented on SLING-641:
-----------------------------------------

Implemented first version in Rev. 691609.

JavaDoc pending, therefore keeping issue open

> Implement cache for bundle resources
> ------------------------------------
>
>                 Key: SLING-641
>                 URL: https://issues.apache.org/jira/browse/SLING-641
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Extensions Bundleresource 2.0.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> When accessing bundle resources, the BundleResourceProvider currently accesses the bundle for each check, which in turn accesses and lock sthe bundle jar file.
> A simple cache should be built into the BundleResourceProvider to cache resources found for faster access on future access. This cache should be limited and on a per-bundle level, such that the cache may simply be dropped if the bundle is stopped.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SLING-641) Implement cache for bundle resources

Robert Munteanu (Jira)
In reply to this post by Robert Munteanu (Jira)

     [ https://issues.apache.org/jira/browse/SLING-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-641:
------------------------------------

    Fix Version/s: Extensions Bundleresource 2.1.0

> Implement cache for bundle resources
> ------------------------------------
>
>                 Key: SLING-641
>                 URL: https://issues.apache.org/jira/browse/SLING-641
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Extensions Bundleresource 2.0.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Extensions Bundleresource 2.1.0
>
>
> When accessing bundle resources, the BundleResourceProvider currently accesses the bundle for each check, which in turn accesses and lock sthe bundle jar file.
> A simple cache should be built into the BundleResourceProvider to cache resources found for faster access on future access. This cache should be limited and on a per-bundle level, such that the cache may simply be dropped if the bundle is stopped.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (SLING-641) Implement cache for bundle resources

Robert Munteanu (Jira)
In reply to this post by Robert Munteanu (Jira)

     [ https://issues.apache.org/jira/browse/SLING-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-641.
-----------------------------------

    Resolution: Fixed

JavaDoc is now added so I close this issue

> Implement cache for bundle resources
> ------------------------------------
>
>                 Key: SLING-641
>                 URL: https://issues.apache.org/jira/browse/SLING-641
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Extensions Bundleresource 2.0.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Extensions Bundleresource 2.1.0
>
>
> When accessing bundle resources, the BundleResourceProvider currently accesses the bundle for each check, which in turn accesses and lock sthe bundle jar file.
> A simple cache should be built into the BundleResourceProvider to cache resources found for faster access on future access. This cache should be limited and on a per-bundle level, such that the cache may simply be dropped if the bundle is stopped.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.