[infinispan-issues] [JBoss JIRA] (ISPN-8317) EvictionConfiguration deprecated but still required

Tristan Tarrant (JIRA) issues at jboss.org
Tue Sep 19 02:35:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant closed ISPN-8317.
---------------------------------
    Resolution: Duplicate Issue


> EvictionConfiguration deprecated but still required
> ---------------------------------------------------
>
>                 Key: ISPN-8317
>                 URL: https://issues.jboss.org/browse/ISPN-8317
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Eviction
>    Affects Versions: 9.1.0.Final
>            Reporter: Paul Ferraro
>
> EvictionConfiguration is deprecated in 9.1 as it is replaced by MemoryConfiguration.  However, there are several places in the code where the memory configuration is not referenced, and instead relies upon EvictionConfiguration.
> e.g.
> * AdvancedCache.evict(...) logs a WARN when EvictionConfiguration.strategy().isEnabled() returns false - which is the default value.
> * The PersistenceManager preload logic determines the number of entries to load based on EvictionManager.maxEntries(), instead of MemoryConfiguration.size()



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list