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

JMX attribute evictions is always zero in Statistics and ClusterCacheStats MBeans

    XMLWordPrintable

Details

    • Hide

      1. Set eviction like <eviction strategy="LRU" max-entries="10"/> in a JDG server.
      2. Put more entries than the max-entries.
      3. Check Statistics.evictions and ClusterCacheStats.evictions MBeans

      Show
      1. Set eviction like <eviction strategy="LRU" max-entries="10"/> in a JDG server. 2. Put more entries than the max-entries. 3. Check Statistics.evictions and ClusterCacheStats.evictions MBeans

    Description

      Description of problem:
      Eviction is working because numberOfEntries never exceeds maxEntries. But "evictions" attribute displays always 0 in JMX.

      How reproducible:
      Always.

      Actual results:
      evictions is always 0.

      Expected results:
      evictions should be the count of evicted entries.

      Additional info:
      This issue found in both of server and library modes.

      Attachments

        Activity

          People

            mgencur Martin Gencur
            mvrabel_jira Martin Vrabel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: