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:
committed by
Artem Bilan
parent
43b83bec53
commit
d414383eac
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user