org.springframework.boot.actuate.metrics.cache

Interface CacheMeterBinderProvider<C extends Cache>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(C cache, Iterable<io.micrometer.core.instrument.Tag> tags)
      Return the MeterBinder managing the specified Cache or null if the specified Cache is not supported.
    • Method Detail

      • getMeterBinder

        io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(C cache,
                                                                        Iterable<io.micrometer.core.instrument.Tag> tags)
        Return the MeterBinder managing the specified Cache or null if the specified Cache is not supported.
        Parameters:
        cache - the cache to instrument
        tags - tags to apply to all recorded metrics
        Returns:
        a MeterBinder handling the specified Cache or null