public class MetricEvent
extends org.springframework.context.ApplicationEvent
source| Constructor and Description |
|---|
MetricEvent(Object source,
MetricType metricType,
AtomicInteger gaugeValue) |
MetricEvent(Object source,
MetricType metricType,
String... tags) |
MetricEvent(Object source,
MetricType metricType,
String methodSignature,
String... tags)
Create a new Chaos Monkey for Spring Boot Metric ApplicationEvent.
|
| Modifier and Type | Method and Description |
|---|---|
AtomicInteger |
getGaugeValue() |
String |
getMethodSignature() |
MetricType |
getMetricType() |
String[] |
getTags() |
getSource, toStringpublic MetricEvent(Object source, MetricType metricType, String methodSignature, String... tags)
source - the object on which the event initially occurred (never null)metricType - MetricTypemethodSignature - Stringtags - String[]public MetricEvent(Object source, MetricType metricType, String... tags)
public MetricEvent(Object source, MetricType metricType, AtomicInteger gaugeValue)
public MetricType getMetricType()
public String getMethodSignature()
public String[] getTags()
public AtomicInteger getGaugeValue()
Copyright © 2018 codecentric AG. All rights reserved.