Class JCacheCacheMeterBinderProvider

java.lang.Object
org.springframework.boot.actuate.metrics.cache.JCacheCacheMeterBinderProvider
All Implemented Interfaces:
CacheMeterBinderProvider<JCacheCache>

public class JCacheCacheMeterBinderProvider extends Object implements CacheMeterBinderProvider<JCacheCache>
CacheMeterBinderProvider implementation for JCache.
Since:
2.0.0
Author:
Stephane Nicoll
  • Constructor Details

    • JCacheCacheMeterBinderProvider

      public JCacheCacheMeterBinderProvider()
  • Method Details

    • getMeterBinder

      public io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(JCacheCache cache, Iterable<io.micrometer.core.instrument.Tag> tags)
      Description copied from interface: CacheMeterBinderProvider
      Return the MeterBinder managing the specified Cache or null if the specified Cache is not supported.
      Specified by:
      getMeterBinder in interface CacheMeterBinderProvider<JCacheCache>
      Parameters:
      cache - the cache to instrument
      tags - tags to apply to all recorded metrics
      Returns:
      a MeterBinder handling the specified Cache or null