incubator-directmemory-dev mailing list archives

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

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

Michael André Pearce updated DIRECTMEMORY-60:
---------------------------------------------

    Attachment: directmemory-ehcache.zip

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

https://issues.apache.org/jira/browse/DIRECTMEMORY-43

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:

net.sf.ehcache.store.offheap.OffHeapStore 
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.

org.apache.directmemory.ehcache.DirectMemoryStore
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: https://issues.apache.org/jira/browse/DIRECTMEMORY-60
>             Project: Apache DirectMemory
>          Issue Type: New Feature
>            Reporter: Michael André Pearce
>            Priority: Minor
>              Labels: EHCache, Integration
>         Attachments: directmemory-ehcache.zip
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message