Class Bucket4jMetricHandler

java.lang.Object
com.giffing.bucket4j.spring.boot.starter.config.metrics.actuator.Bucket4jMetricHandler
All Implemented Interfaces:
com.giffing.bucket4j.spring.boot.starter.context.metrics.MetricHandler

@Component
@Primary
public class Bucket4jMetricHandler
extends java.lang.Object
implements com.giffing.bucket4j.spring.boot.starter.context.metrics.MetricHandler
  • Constructor Summary

    Constructors 
    Constructor Description
    Bucket4jMetricHandler()  
  • Method Summary

    Modifier and Type Method Description
    void handle​(com.giffing.bucket4j.spring.boot.starter.context.metrics.MetricType type, java.lang.String name, long tokens, java.util.List<com.giffing.bucket4j.spring.boot.starter.context.metrics.MetricTagResult> tags)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • handle

      public void handle​(com.giffing.bucket4j.spring.boot.starter.context.metrics.MetricType type, java.lang.String name, long tokens, java.util.List<com.giffing.bucket4j.spring.boot.starter.context.metrics.MetricTagResult> tags)
      Specified by:
      handle in interface com.giffing.bucket4j.spring.boot.starter.context.metrics.MetricHandler