camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] camel git commit: Polished
Date Tue, 27 Dec 2016 19:58:49 GMT
Repository: camel
Updated Branches:
  refs/heads/master 8882231d8 -> 1ce745ba1


Polished


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/482825f4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/482825f4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/482825f4

Branch: refs/heads/master
Commit: 482825f494a3dcded228f3ab86d1eeb1c990d2a3
Parents: 8882231
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Dec 27 10:37:48 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Dec 27 12:06:32 2016 +0100

----------------------------------------------------------------------
 .../camel/model/HystrixConfigurationDefinition.java       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/482825f4/camel-core/src/main/java/org/apache/camel/model/HystrixConfigurationDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/HystrixConfigurationDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/HystrixConfigurationDefinition.java
index cbf8c8d..ae72ec3 100644
--- a/camel-core/src/main/java/org/apache/camel/model/HystrixConfigurationDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/HystrixConfigurationDefinition.java
@@ -589,8 +589,9 @@ public class HystrixConfigurationDefinition extends IdentifiedType {
     }
 
     /**
-     * Duration of statistical rolling window in milliseconds.
-     * This is passed into HystrixRollingNumber inside HystrixCommandMetrics.
+     * This property sets the duration of the statistical rolling window, in milliseconds.
This is how long metrics are kept for the thread pool.
+     *
+     * The window is divided into buckets and “rolls” by those increments.
      */
     public HystrixConfigurationDefinition metricsRollingStatisticalWindowInMilliseconds(Integer
metricsRollingStatisticalWindowInMilliseconds) {
         this.metricsRollingStatisticalWindowInMilliseconds = metricsRollingStatisticalWindowInMilliseconds;
@@ -642,8 +643,9 @@ public class HystrixConfigurationDefinition extends IdentifiedType {
     }
     
     /**
-     * Maximum thread-pool size that gets passed to {@link ThreadPoolExecutor#setMaximumPoolSize(int)}
-     *
+     * Maximum thread-pool size that gets passed to {@link ThreadPoolExecutor#setMaximumPoolSize(int)}.
+     * This is the maximum amount of concurrency that can be supported without starting to
reject HystrixCommands.
+     * Please note that this setting only takes effect if you also set allowMaximumSizeToDivergeFromCoreSize
      */
     public HystrixConfigurationDefinition maximumSize(Integer maximumSize) {
         this.maximumSize = maximumSize;


Mime
View raw message