org.springframework.integration.monitor
Interface MessageHandlerMetrics
- All Known Implementing Classes:
- LifecycleMessageHandlerMetrics, SimpleMessageHandlerMetrics
public interface MessageHandlerMetrics
- Since:
- 2.0
- Author:
- Dave Syer
reset
@ManagedOperation
void reset()
getHandleCount
@ManagedMetric(metricType=COUNTER,
displayName="Handler Execution Count")
int getHandleCount()
- Returns:
- the number of successful handler calls
getErrorCount
@ManagedMetric(metricType=COUNTER,
displayName="Handler Error Count")
int getErrorCount()
- Returns:
- the number of failed handler calls
getMeanDuration
@ManagedMetric(metricType=GAUGE,
displayName="Handler Mean Duration in Milliseconds")
double getMeanDuration()
- Returns:
- the mean handler duration (milliseconds)
getMinDuration
@ManagedMetric(metricType=GAUGE,
displayName="Handler Min Duration in Milliseconds")
double getMinDuration()
- Returns:
- the minimum handler duration (milliseconds)
getMaxDuration
@ManagedMetric(metricType=GAUGE,
displayName="Handler Max Duration in Milliseconds")
double getMaxDuration()
- Returns:
- the maximum handler duration (milliseconds)
getStandardDeviationDuration
@ManagedMetric(metricType=GAUGE,
displayName="Handler Standard Deviation Duration in Milliseconds")
double getStandardDeviationDuration()
- Returns:
- the standard deviation handler duration (milliseconds)
getActiveCount
@ManagedMetric(metricType=GAUGE,
displayName="Handler Active Execution Count")
int getActiveCount()
getDuration
Statistics getDuration()
- Returns:
- summary statistics about the handler duration (milliseconds)
getName
java.lang.String getName()
getSource
java.lang.String getSource()