Author: stefanegli
Date: Mon Apr 27 13:18:29 2015
New Revision: 1676255
URL: http://svn.apache.org/r1676255
Log:
SLING-4668 sneak-in: pure javadoc reformatting, no text change
Modified:
sling/trunk/bundles/extensions/discovery/api/src/main/java/org/apache/sling/discovery/TopologyView.java
Modified:
sling/trunk/bundles/extensions/discovery/api/src/main/java/org/apache/sling/discovery/TopologyView.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/api/src/main/java/org/apache/sling/discovery/TopologyView.java?rev=1676255&r1=1676254&r2=1676255&view=diff
==============================================================================
---
sling/trunk/bundles/extensions/discovery/api/src/main/java/org/apache/sling/discovery/TopologyView.java
(original)
+++
sling/trunk/bundles/extensions/discovery/api/src/main/java/org/apache/sling/discovery/TopologyView.java
Mon Apr 27 13:18:29 2015
@@ -30,21 +30,21 @@ import aQute.bnd.annotation.ProviderType
@ProviderType
public interface TopologyView {
- /**
- * Checks if this TopologyView is currently valid - or if the
- * service knows of a topology change just going on (or another
- * uncertainty about the topology such as IOException etc)
- * @return true if this TopologyView is currently valid, false
- * if the service knows of a topology change just going on (or
- * another issue with discovery like IOException etc)
- */
- boolean isCurrent();
+ /**
+ * Checks if this TopologyView is currently valid - or if the
+ * service knows of a topology change just going on (or another
+ * uncertainty about the topology such as IOException etc)
+ * @return true if this TopologyView is currently valid, false
+ * if the service knows of a topology change just going on (or
+ * another issue with discovery like IOException etc)
+ */
+ boolean isCurrent();
- /**
- * Provides the InstanceDescription belonging to <b>this</b> instance.
- * @return the InstanceDescription belonging to <b>this</b> instance
- */
- InstanceDescription getLocalInstance();
+ /**
+ * Provides the InstanceDescription belonging to <b>this</b> instance.
+ * @return the InstanceDescription belonging to <b>this</b> instance
+ */
+ InstanceDescription getLocalInstance();
/**
* Provides the set of InstanceDescriptions in the entire topology,
@@ -52,16 +52,16 @@ public interface TopologyView {
* @return the set of InstanceDescriptions in the entire topology,
* without any particular order
*/
- Set<InstanceDescription> getInstances();
+ Set<InstanceDescription> getInstances();
- /**
- * Searches through this topology and picks those accepted by the
provided
- * <code>InstanceFilter</code> - and returns them without any
particular order
- * @param filter the filter to use
- * @return the set of InstanceDescriptions which were accepted by the
InstanceFilter,
- * without any particular order
- */
- Set<InstanceDescription> findInstances(InstanceFilter filter);
+ /**
+ * Searches through this topology and picks those accepted by the provided
+ * <code>InstanceFilter</code> - and returns them without any particular
order
+ * @param filter the filter to use
+ * @return the set of InstanceDescriptions which were accepted by the
InstanceFilter,
+ * without any particular order
+ */
+ Set<InstanceDescription> findInstances(InstanceFilter filter);
/**
* Provides the collection of ClusterViews.
@@ -70,5 +70,5 @@ public interface TopologyView {
* including InstanceDescriptions that form "a cluster of 1"
* @return the set of ClusterViews, without any particular order
*/
- Set<ClusterView> getClusterViews();
+ Set<ClusterView> getClusterViews();
}