[infinispan-issues] [JBoss JIRA] Commented: (ISPN-864) Passivate in-memory entries to cache store upon shutdown

Dave Marion (JIRA) jira-events at lists.jboss.org
Fri Jan 7 09:41:18 EST 2011


    [ https://issues.jboss.org/browse/ISPN-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574118#comment-12574118 ] 

Dave Marion commented on ISPN-864:
----------------------------------

In the mean time I have implemented a workaround in my code before calling cache.stop()

if (cache.getConfiguration().isUsingCacheLoaders() && cache.getConfiguration().getCacheLoaderManagerConfig().isPassivation()) {
  for (Object key : cache.ketSet()) {
    cache.evict(key);
  }
}

> Passivate in-memory entries to cache store upon shutdown
> --------------------------------------------------------
>
>                 Key: ISPN-864
>                 URL: https://issues.jboss.org/browse/ISPN-864
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Loaders and Stores
>    Affects Versions: 4.2.0.Final
>            Reporter: Dave Marion
>            Assignee: Manik Surtani
>              Labels: passivation, shutdown
>             Fix For: 5.0.0.BETA1, 5.0.0.Final
>
>
> When cache store configured, passivate in-memory entries when cache is shutdown. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list