incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael André Pearce (Updated) (JIRA) <>
Subject [jira] [Updated] (DIRECTMEMORY-60) EHCache Integration
Date Fri, 17 Feb 2012 22:14:57 GMT


Michael André Pearce updated DIRECTMEMORY-60:


Proposed new module to support ehcache integration, includes suggestions to make CacheService/CacheServiceImpl
generic implementation which is discussed and suggested code presented found in JIRA issue

As temporary work around the suggested altered code is in package "org.apache.directmemory.cache.generic"
this can change and the temp work around can be removed when these changes are introduced
into the main directmemory-cache module.

Also includes a non-singleton implementation (req for ehcache impl) which can be used instead
of the Static signleton Cache found in directmemory-cache, suggest this can be migrated to
main cache module.

Lastly the two main files are: 
This is what EHCache is looking for when using off heap ehcache settings, with the reflective
methods that get invoked and allows us to wire in our own Store.

This is our OffHeapStore implementation using the DirectMemoryCache. Currently if using EHCache
can only use OffHeap, need to work on further/better integration with the pools provided to
allow multitiered cache's.

See tests for example of Ehcache being used, and ehcache.xml config to use the store.
> EHCache Integration
> -------------------
>                 Key: DIRECTMEMORY-60
>                 URL:
>             Project: Apache DirectMemory
>          Issue Type: New Feature
>            Reporter: Michael André Pearce
>            Priority: Minor
>              Labels: EHCache, Integration
>         Attachments:
> Integrate DirectMemory to be used with EHCache.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message