Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16941

Spring Cache integration does not expose statistics via Spring's CacheMeterBinderProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9.1
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Exposing cache statistics is an important part of Spring Cache integration. You can see here a number of existing implementations.

      I am trying to implement it myself by writing a class that implements CacheMeterBinderProvider<SpringCache>. However, the 'org.apache.ignite.cache.spring.SpringCache' that implements the Spring's Cache interface is package protected and cannot be used.

      There is a simple example here of implementing the CacheMeterBinderProvider:  https://medium.com/@iliamsharipov_56660/spring-boot-actuator-for-concurrentmapcache-2c7f0d290934

      Attachments

        Activity

          People

            Unassigned Unassigned
            sergeykad Sergey Kadaner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: