Class MetricEventPublisher

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

    public class MetricEventPublisher
    extends Object
    implements org.springframework.context.ApplicationEventPublisherAware
    Author:
    Benjamin Wilms
    • Constructor Detail

      • MetricEventPublisher

        public MetricEventPublisher()
    • Method Detail

      • publishMetricEvent

        public void publishMetricEvent​(String signature,
                                       MetricType metricType,
                                       String... tags)
      • publishMetricEvent

        public void publishMetricEvent​(MetricType metricType,
                                       String... tags)
      • publishMetricEvent

        public void publishMetricEvent​(MetricType metricType,
                                       AtomicInteger atomicTimeoutGauge)
      • publishMetricEvent

        public void publishMetricEvent​(MetricType type,
                                       long metricValue)
      • setApplicationEventPublisher

        public void setApplicationEventPublisher​(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
        Specified by:
        setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware