You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/02/09 14:10:57 UTC
stratos git commit: Removing the child nodes start functionality from
the startMonitor as it is handling from dependency logic
Repository: stratos
Updated Branches:
refs/heads/master f7ffbebd4 -> 8093addf6
Removing the child nodes start functionality from the startMonitor as it is handling from dependency logic
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/8093addf
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/8093addf
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/8093addf
Branch: refs/heads/master
Commit: 8093addf68f05563df46ff46c55c969bb2e398cd
Parents: f7ffbeb
Author: Gayan Gunarathne <ga...@wso2.com>
Authored: Mon Feb 9 18:40:33 2015 +0530
Committer: Gayan Gunarathne <ga...@wso2.com>
Committed: Mon Feb 9 18:40:33 2015 +0530
----------------------------------------------------------------------
.../monitor/component/ParentComponentMonitor.java | 11 -----------
1 file changed, 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/8093addf/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
index 0088d63..b7f3942 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
@@ -693,17 +693,6 @@ public abstract class ParentComponentMonitor extends Monitor implements Runnable
protected synchronized void startMonitor(ParentComponentMonitor parent,
ApplicationChildContext context, List<String> instanceIds) {
- if (context.getApplicationChildContextList().size() > 0) {
- for (ApplicationChildContext contextInner : context.getApplicationChildContextList()) {
- if (!this.aliasToActiveMonitorsMap.containsKey(contextInner.getId())) {
- pendingMonitorsList.add(context.getId());
- executorService.submit(new MonitorAdder(parent, contextInner, this.appId, instanceIds));
- if (log.isDebugEnabled()) {
- log.debug(String.format("Monitor Adder has been added: [cluster] %s ", contextInner.getId()));
- }
- }
- }
- }
if (!this.aliasToActiveMonitorsMap.containsKey(context.getId())) {
pendingMonitorsList.add(context.getId());
executorService.submit(new MonitorAdder(parent, context, this.appId, instanceIds));