You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/01/12 18:45:16 UTC
[2/2] stratos git commit: Updating information messages in cloud
controller service component
Updating information messages in cloud controller service component
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/3a141607
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/3a141607
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/3a141607
Branch: refs/heads/master
Commit: 3a141607adb0f6a3e1885c8b8e6ffda50ee4099e
Parents: 889996d
Author: Imesh Gunaratne <im...@apache.org>
Authored: Mon Jan 12 23:15:05 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Mon Jan 12 23:15:05 2015 +0530
----------------------------------------------------------------------
.../autoscaler/internal/AutoscalerServerComponent.java | 6 +++---
.../internal/CloudControllerServiceComponent.java | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/3a141607/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServerComponent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServerComponent.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServerComponent.java
index 51095c9..f9b743d 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServerComponent.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServerComponent.java
@@ -100,7 +100,7 @@ public class AutoscalerServerComponent {
AutoscalerContext.getInstance().setCoordinator(true);
try {
- executeStartupTasks();
+ executeCoordinatorTasks();
} catch (Throwable e) {
log.error("Error in activating the autoscaler component ", e);
}
@@ -109,7 +109,7 @@ public class AutoscalerServerComponent {
coordinatorElectorThread.setName("Autoscaler coordinator elector thread");
executorService.submit(coordinatorElectorThread);
} else {
- executeStartupTasks();
+ executeCoordinatorTasks();
}
if (log.isInfoEnabled()) {
@@ -120,7 +120,7 @@ public class AutoscalerServerComponent {
}
}
- private void executeStartupTasks() throws Exception{
+ private void executeCoordinatorTasks() throws Exception{
// Start topology receiver
asTopologyReceiver = new AutoscalerTopologyEventReceiver();
http://git-wip-us.apache.org/repos/asf/stratos/blob/3a141607/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerServiceComponent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerServiceComponent.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerServiceComponent.java
index cf88e3e..bb6fe71 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerServiceComponent.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerServiceComponent.java
@@ -124,7 +124,7 @@ public class CloudControllerServiceComponent {
applicationEventReceiver.execute();
if (log.isInfoEnabled()) {
- log.info("Application Receiver thread started");
+ log.info("Application event receiver thread started");
}
clusterStatusTopicReceiver = new ClusterStatusTopicReceiver();
@@ -132,7 +132,7 @@ public class CloudControllerServiceComponent {
clusterStatusTopicReceiver.execute();
if (log.isInfoEnabled()) {
- log.info("Cluster status Receiver thread started");
+ log.info("Cluster status event receiver thread started");
}
instanceStatusTopicReceiver = new InstanceStatusTopicReceiver();
@@ -140,7 +140,7 @@ public class CloudControllerServiceComponent {
instanceStatusTopicReceiver.execute();
if (log.isInfoEnabled()) {
- log.info("Instance status message receiver thread started");
+ log.info("Instance status event receiver thread started");
}
if (log.isInfoEnabled()) {
@@ -151,14 +151,14 @@ public class CloudControllerServiceComponent {
protected void setTaskService(TaskService taskService) {
if (log.isDebugEnabled()) {
- log.debug("Setting the Task Service");
+ log.debug("Setting the task service");
}
ServiceReferenceHolder.getInstance().setTaskService(taskService);
}
protected void unsetTaskService(TaskService taskService) {
if (log.isDebugEnabled()) {
- log.debug("Unsetting the Task Service");
+ log.debug("Un-setting the task service");
}
ServiceReferenceHolder.getInstance().setTaskService(null);
}