Hi Dariusz,
burst operations seems to be quite clear and complete. Nice work!

I also like the "functional" approach that would make them further expansible. Why don't you make the CacheAction interface and related performActionOnCaches method public or otherwise accessible to custom user implementations? I'm not saying to do it now, just asking if it would be a good idea to do it eventually in the future, making it possible for users to write their own custom cache operations, or if there are some conditions I don't see that could mess things up.

Simone

Dariusz Łuksza (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/COCOON3-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dariusz Łuksza updated COCOON3-39:
----------------------------------

    Attachment: cache-overview-part2-burst-actions.patch

This patch adds support for burst operations on cache's. It can be applied on 
current trunk version.

Cocoon-monitoring cache overview
--------------------------------

                Key: COCOON3-39
                URL: https://issues.apache.org/jira/browse/COCOON3-39
            Project: Cocoon 3
         Issue Type: New Feature
         Components: cocoon-optional
           Reporter: Dariusz Łuksza
           Assignee: Cocoon Developers Team
        Attachments: cache-overview-part1.patch, 
cache-overview-part2-burst-actions.patch


This milestone of my GSoC project I'll divide in to thee smaller tasks:
1. General overview of configured caches with base functions like:
  - clearing whole cache
  - getting list of cached keys
  - removing single key from cache
  - getting size of cache
2. Getting list of all CacheKey's and expose them in some kind of logical order 
on JXM tree
3. Add additional operation and information to every CacheKey like:
  - clearing cache value
  - editing cache value
  - reloading cache value
  - getting time of creation
  - getting expires time, if any



--
Simone Gianni            CEO Semeru s.r.l.           Apache Committer
http://www.simonegianni.it/

Reply via email to