sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-discovery-api] 12/29: SLING-2827 : minor rewordings of javadoc of Type
Date Tue, 07 Nov 2017 09:25:30 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.discovery.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-api.git

commit 5f829a8790fa3a49f6d8192e7ac773ab0cc19054
Author: Stefan Egli <stefanegli@apache.org>
AuthorDate: Tue Apr 23 09:44:00 2013 +0000

    SLING-2827 : minor rewordings of javadoc of Type
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/discovery/api@1470865
13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/discovery/TopologyEvent.java  | 23 +++++++++++-----------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/src/main/java/org/apache/sling/discovery/TopologyEvent.java b/src/main/java/org/apache/sling/discovery/TopologyEvent.java
index 6b515bd..305dcb9 100644
--- a/src/main/java/org/apache/sling/discovery/TopologyEvent.java
+++ b/src/main/java/org/apache/sling/discovery/TopologyEvent.java
@@ -30,18 +30,17 @@ public class TopologyEvent {
 
     public static enum Type {
         /**
-         * Inform the service about the initial topology state and is only sent
-         * once at bind-time.
-         * <p>
-         * This event type will be the first one a TopologyEventListener
-         * receives.
+         * Informs the service about the initial topology state - this is only 
+         * sent once at bind-time and is the first one a TopologyEventListener
+         * receives (after the implementation bundle was activated).
          */
         TOPOLOGY_INIT,
 
         /**
-         * Inform the service about the fact that a state change was detected in
-         * the topology/cluster and that a voting amongst the members about a
-         * new, valid topology/cluster view has just started.
+         * Informs the service about the fact that a state change was detected in
+         * the topology/cluster and that the new state is in the process of
+         * being discovered. Once the discovery is finished, a TOPOLOGY_CHANGED
+         * is sent with the new topology view.
          * <p>
          * An implementation must always send a TOPOLOGY_CHANGING before a
          * TOPOLOGY_CHANGED.
@@ -49,16 +48,16 @@ public class TopologyEvent {
         TOPOLOGY_CHANGING,
 
         /**
-         * Inform the service about a state change in the topology.
+         * Informs the service about a state change in the topology.
          * <p>
          * A state change includes:
          * <ul>
          * <li>A joining or leaving instance</li>
          * <li>A restart of an instance - or more precisely: when the
          * corresponding implementation bundle is deactivated/activated</li>
-         * <li>A cluster structure changed: either its members or the cluster
-         * view id. The cluster view id changes when an instance joins, leaves
-         * or was restarted (the bundle deactivated/activated)</li>
+         * <li>A cluster structure - either its members or the cluster
+         * view id - changed. The cluster view id changes when an instance joins, 
+         * leaves or was restarted (its bundle deactivated/activated)</li>
          * </ul>
          * <p>
          * Note that tha TOPOLOGY_CHANGED can also include changes in the

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message