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 -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishMetricEvent(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)
-
Constructor Details
-
MetricEventPublisher
public MetricEventPublisher()
-
-
Method Details
-
publishMetricEvent
-
publishMetricEvent
-
publishMetricEvent
-
publishMetricEvent
-
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - Specified by:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-