You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2014/01/13 10:54:06 UTC
[1/2] git commit: method to check whether member exists in a cluster
Updated Branches:
refs/heads/master 8ef8709a7 -> 057cb45b7
method to check whether member exists in a cluster
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/6c76b542
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/6c76b542
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/6c76b542
Branch: refs/heads/master
Commit: 6c76b542ce2399150c07c46955a1dea029b7cbc3
Parents: d929b37
Author: rekathiru <rt...@gmail.com>
Authored: Mon Jan 13 15:23:29 2014 +0530
Committer: rekathiru <rt...@gmail.com>
Committed: Mon Jan 13 15:23:29 2014 +0530
----------------------------------------------------------------------
.../org/apache/stratos/messaging/domain/topology/Cluster.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6c76b542/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Cluster.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Cluster.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Cluster.java
index 4816715..dddb869 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Cluster.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Cluster.java
@@ -91,6 +91,12 @@ public class Cluster implements Serializable {
return memberMap.values();
}
+ public boolean hasMembers() {
+ return memberMap.isEmpty();
+ }
+
+
+
public void addMember(Member member) {
memberMap.put(member.getMemberId(), member);
}
[2/2] git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-stratos
Posted by re...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-stratos
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/057cb45b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/057cb45b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/057cb45b
Branch: refs/heads/master
Commit: 057cb45b7d40a3012805e9fb3343aa20ed810c6f
Parents: 6c76b54 8ef8709
Author: rekathiru <rt...@gmail.com>
Authored: Mon Jan 13 15:24:14 2014 +0530
Committer: rekathiru <rt...@gmail.com>
Committed: Mon Jan 13 15:24:14 2014 +0530
----------------------------------------------------------------------
.../message/receiver/health/AutoscalerHealthStatReceiver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------