Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8317

EvictionConfiguration deprecated but still required

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 9.1.0.Final
    • Eviction
    • None

      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()

              Unassigned Unassigned
              pferraro@redhat.com Paul Ferraro
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: