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

Confusing naming of statistic "total_number_of_entries"

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Undefined

      For a cache there are 3 metrics:
      "current_number_of_entries_in_memory" : 0, <-- current number in memory
      "current_number_of_entries" : 14, <-- total number of entries (size)

      But "total_number_of_entries" is not the total number of entries in this cache but the number of put's for the running server.
      See code https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/stats/impl/StatsImpl.java#L174

      So the naming "total number" is not correct and should be changed.

              Unassigned Unassigned
              rhn-support-wfink Wolf Fink
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: