[ 
https://issues.apache.org/jira/browse/DIRECTMEMORY-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13703482#comment-13703482
 ] 

Tommaso Teofili commented on DIRECTMEMORY-131:
----------------------------------------------

before committing it we may want to have a look at OffHeapCache#invalidateAll 
as per Chetan's TODO:

{code}
@Override
    public void invalidateAll()
    {
        super.invalidateAll();

        //TODO Problem with calling clear here is that
        //it invokes clear on MemoryManagerService. If same
        //MemoryManagerService is shared between multiple cacheService
        //then it would lead to clearing of all other caches
        cacheService.clear();
    }
{code}
                
> Using DirectMemory as level 2 cache for Guava Cache
> ---------------------------------------------------
>
>                 Key: DIRECTMEMORY-131
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-131
>             Project: Apache DirectMemory
>          Issue Type: New Feature
>            Reporter: Chetan Mehrotra
>            Assignee: Tommaso Teofili
>         Attachments: DIRECTMEMORY-131.patch, 
> directmemory-guava-0.2-SNAPSHOT-src.zip
>
>
> Guava provide a in memory Cache service [1] (since v10). It should be 
> possible to use DirectMemory as second level cache for Guava Cache
> [1] http://code.google.com/p/guava-libraries/wiki/CachesExplained

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to