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

EvictionConfiguration deprecated but still required

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: