Class MetricEventPublisher
- java.lang.Object
-
- de.codecentric.spring.boot.chaos.monkey.component.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 Summary
Constructors Constructor Description MetricEventPublisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpublishMetricEvent(MetricType type, long metricValue)voidpublishMetricEvent(MetricType metricType, String... tags)voidpublishMetricEvent(MetricType metricType, AtomicInteger atomicTimeoutGauge)voidpublishMetricEvent(String signature, MetricType metricType, String... tags)voidsetApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
-
-
-
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:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-
-