diff --git a/spring-integration-core/src/main/java/org/springframework/integration/support/management/ExponentialMovingAverageRate.java b/spring-integration-core/src/main/java/org/springframework/integration/support/management/ExponentialMovingAverageRate.java index 59a2f491c9..8f9eed8938 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/support/management/ExponentialMovingAverageRate.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/support/management/ExponentialMovingAverageRate.java @@ -185,7 +185,7 @@ public class ExponentialMovingAverageRate { } /** - * @return the time in seconds since the last measurement + * @return the time in milliseconds since the last measurement */ public double getTimeSinceLastMeasurement() { if (this.count == 0) { diff --git a/spring-integration-core/src/main/java/org/springframework/integration/support/management/MessageChannelMetrics.java b/spring-integration-core/src/main/java/org/springframework/integration/support/management/MessageChannelMetrics.java index 903f3ee4a5..65add8b0b7 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/support/management/MessageChannelMetrics.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/support/management/MessageChannelMetrics.java @@ -56,9 +56,9 @@ public interface MessageChannelMetrics extends IntegrationStatsManagement { long getSendErrorCountLong(); /** - * @return the time in seconds since the last send + * @return the time in milliseconds since the last send */ - @ManagedMetric(metricType = MetricType.GAUGE, displayName = "Channel Time Since Last Send in Seconds") + @ManagedMetric(metricType = MetricType.GAUGE, displayName = "Channel Time Since Last Send in Milliseconds") double getTimeSinceLastSend(); /**