You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/01/25 18:01:37 UTC
[2/2] stratos git commit:
s/notifyParentOnMaxOut/notifyParentOnScalingUpBeyondMax
s/notifyParentOnMaxOut/notifyParentOnScalingUpBeyondMax
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/b6d3262b
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/b6d3262b
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/b6d3262b
Branch: refs/heads/master
Commit: b6d3262b0537862b1e852dccfa6e56abf1949a7d
Parents: 5cb0e14
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Sun Jan 25 22:35:15 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Sun Jan 25 22:35:15 2015 +0530
----------------------------------------------------------------------
.../stratos/autoscaler/monitor/component/GroupMonitor.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/b6d3262b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/GroupMonitor.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/GroupMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/GroupMonitor.java
index aac802f..7b498fc 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/GroupMonitor.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/GroupMonitor.java
@@ -148,7 +148,7 @@ public class GroupMonitor extends ParentComponentMonitor {
createGroupInstanceOnScaling(networkPartitionContext,
instanceContext.getParentInstanceId());
} else {
- notifyParentOnMaxOut(networkPartitionContext, instanceContext);
+ notifyParentOnScalingUpBeyondMax(networkPartitionContext, instanceContext);
}
//Resetting the max events
instanceContext.setIdToScalingOverMaxEvent(
@@ -257,8 +257,8 @@ public class GroupMonitor extends ParentComponentMonitor {
}
}
- private void notifyParentOnMaxOut(NetworkPartitionContext networkPartitionContext,
- InstanceContext instanceContext) {
+ private void notifyParentOnScalingUpBeyondMax(NetworkPartitionContext networkPartitionContext,
+ InstanceContext instanceContext) {
//has scaling dependents. Should notify the parent
if (log.isDebugEnabled()) {
log.debug("This [Group] " + id + " [scale-up] dependencies. " +