You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JIRA: https://jira.spring.io/browse/INT-4250
When retrieving the mean from `ExponentialMovingAverageRate` or
`ExponentialMovingAverageRatio` via `getStatistics()` the mean did not
decay over time.
The mean did decay when using `getMean()`.
This was caused by the statistics performance refactoring.
(cherry picked from commit fac04ae)
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/support/management/ExponentialMovingAverageRate.java
+37-22Lines changed: 37 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,17 @@
1
1
/*
2
-
* Copyright 2009-2016 the original author or authors.
2
+
* Copyright 2009-2017 the original author or authors.
3
3
*
4
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5
-
* the License. You may obtain a copy of the License at
4
+
* Licensed under the Apache License, Version 2.0 (the "License");
5
+
* you may not use this file except in compliance with the License.
6
+
* You may obtain a copy of the License at
6
7
*
7
-
* http://www.apache.org/licenses/LICENSE-2.0
8
+
* http://www.apache.org/licenses/LICENSE-2.0
8
9
*
9
-
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
10
-
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
11
-
* specific language governing permissions and limitations under the License.
10
+
* Unless required by applicable law or agreed to in writing, software
11
+
* distributed under the License is distributed on an "AS IS" BASIS,
12
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+
* See the License for the specific language governing permissions and
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/support/management/ExponentialMovingAverageRatio.java
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2009-2016 the original author or authors.
2
+
* Copyright 2009-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5
5
* the License. You may obtain a copy of the License at
Copy file name to clipboardExpand all lines: spring-integration-core/src/test/java/org/springframework/integration/support/management/ExponentialMovingAverageRateTests.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2016 the original author or authors.
2
+
* Copyright 2002-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5
5
* the License. You may obtain a copy of the License at
@@ -102,13 +102,15 @@ public void testGetMean() throws Exception {
Copy file name to clipboardExpand all lines: spring-integration-core/src/test/java/org/springframework/integration/support/management/ExponentialMovingAverageRatioTests.java
0 commit comments