INT-4034: Channel Metrics Javadocs

JIRA: https://jira.spring.io/browse/INT-4034

Incorrectly showed time since last send was seconds instead of milliseconds.
This commit is contained in:
Gary Russell
2016-05-25 09:36:19 -04:00
committed by Artem Bilan
parent 43b83bec53
commit d414383eac
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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();
/**