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

Paul Ferraro (JIRA) issues at jboss.org
Mon Sep 18 17:05:00 EDT 2017


Paul Ferraro created ISPN-8317:
----------------------------------

             Summary: 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