Here it is…. It was more work than I thought! 

https://github.com/apache/directory-server/pull/9/files

ehCache is upgraded from 2.10.4 to 3.6.1. 

Core class service, unit test codes, directory-cache.xml file…

I look forward to your feedback. I wonder how much I broke…

Best regards,

Richard


> On Dec 24, 2018, at 1:10 AM, Emmanuel Lécharny <[email protected]> wrote:
> 
> 
> On 24/12/2018 05:26, Richard Sand wrote:
>> Hi Emmanuel - yeah there are a few notable differences in ehcache 3.x - I’m 
>> about halfway through getting everything to compile. The notable differences 
>> I’ve found are:
>> 
>> 1 - the Cache object now uses generics i.e. Cache<K,V> - the put methods no 
>> longer use an Entry object but take K,V directly
>> 2 - the configuration methods do more of the work but expose fewer of the 
>> properties programmatically - notably there are places where the current 
>> code updates the cache configurations after initialization, which I believe 
>> probably isn’t needed anyway but nonetheless doesn’t seem to be supported in 
>> v3
>> 
>> Caffeine says it has a JSR-107 wrapper - will you implement Caffeine 
>> directly or via JSR-107?
> 
> I have'nt made my mind yet. What is certain is that we would like to be able 
> to switch the implementation easily, and if it requires using the JSR-107 
> API, so be it.
> 
> 
>> 
>> I’ll submit a pull request soon anyway so you can see the changes I made to 
>> support ehcache v3 and decide if you want to keep them or not.
> 
> 
> Sure !
> 
> 
> Thanks !
> 

Reply via email to