brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: AutoScaler now takes config keys ...
Date Fri, 05 Jun 2015 14:03:56 GMT
Github user sjcorbett commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/673#discussion_r31814694
  
    --- Diff: policy/src/main/java/brooklyn/policy/autoscaling/AutoScalerPolicy.java ---
    @@ -282,6 +305,35 @@ public ResizeOperator apply(final Closure closure) {
                 .reconfigurable(true)
                 .build();
         
    +    @SetFromFlag("resizeUpIterationIncrement")
    +    public static final ConfigKey<Integer> RESIZE_UP_ITERATION_INCREMENT = BasicConfigKey.builder(Integer.class)
    +            .name("autoscaler.resizeUpIterationIncrement")
    +            .description("Batch size for resizing up; the size will be increased by a
mulitiple of this value")
    +            .defaultValue(1)
    +            .reconfigurable(true)
    +            .build();
    +    @SetFromFlag("resizeUpIterationMax")
    +    public static final ConfigKey<Integer> RESIZE_UP_ITERATION_MAX = BasicConfigKey.builder(Integer.class)
    +            .name("autoscaler.resizeUpIterationMax")
    +            .defaultValue(Integer.MAX_VALUE)
    +            .description("Maximum change to the size on a single iteration when scaling
up")
    +            .reconfigurable(true)
    +            .build();
    +    @SetFromFlag("resizeDownIterationIncrement")
    +    public static final ConfigKey<Integer> RESIZE_DOWN_ITERATION_INCREMENT = BasicConfigKey.builder(Integer.class)
    +            .name("autoscaler.resizeDownIterationIncrement")
    +            .description("Batch size for resizing down; the size will be decreased by
a mulitiple of this value")
    --- End diff --
    
    Typo again


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message