public class RichGaugeHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.springframework.expression.EvaluationContext |
evaluationContext |
protected org.springframework.expression.Expression |
nameExpression |
protected org.springframework.expression.spel.standard.SpelExpressionParser |
spelExpressionParser |
Constructor and Description |
---|
RichGaugeHandler(RichGaugeRepository richGaugeRepository,
java.lang.String nameExpression,
double alpha) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
computeMetricName(org.springframework.messaging.Message<?> message) |
void |
process(org.springframework.messaging.Message<?> message) |
void |
setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext) |
protected final org.springframework.expression.Expression nameExpression
protected final org.springframework.expression.spel.standard.SpelExpressionParser spelExpressionParser
protected org.springframework.expression.EvaluationContext evaluationContext
public RichGaugeHandler(RichGaugeRepository richGaugeRepository, java.lang.String nameExpression, double alpha)
@ServiceActivator public void process(org.springframework.messaging.Message<?> message)
protected java.lang.String computeMetricName(org.springframework.messaging.Message<?> message)
public void setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext)
setIntegrationEvaluationContext
in interface org.springframework.integration.expression.IntegrationEvaluationContextAware