[
https://issues.apache.org/jira/browse/OFBIZ-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philippe Mouawad updated OFBIZ-4098:
------------------------------------
Attachment: patch-4098.patch
Here is the patch that enable providing an alternative Cache implementation.
I modified only on thing in JUnit test case, I added assertSame to make it
compare through equals instead of references, because UtilCache is now only a
Facade to real cache.
> Ability to plug a new Cache Implementation
> ------------------------------------------
>
> Key: OFBIZ-4098
> URL: https://issues.apache.org/jira/browse/OFBIZ-4098
> Project: OFBiz
> Issue Type: New Feature
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Philippe Mouawad
> Attachments: patch-4098.patch
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> Hello,
> I would like to contribute a patch to enable switching from Ofbiz native
> Cache (today UtilCache) to another implementation like EhCache for example.
> To avoid big code impacts, UtilCache would stay the same and delegate to the
> real
> cache implementation this will impact less classes and big impacts
> would stay in UtilCache package.
> Ability to plug another implementation like EhCache for example would enable
> easily plugin with Terracota for example which on big Web Site gives much
> performance enhancements.
> Is the format to contribute this kind of evolution also a patch ?
> Thank you
> Regards
> Philippe
> http://www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.