public class ClusterViewHelper extends Object
| Constructor and Description |
|---|
ClusterViewHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(org.apache.sling.discovery.ClusterView clusterView,
String slingId)
checks whether the cluster view contains a particular sling id
|
static boolean |
containsAny(org.apache.sling.discovery.ClusterView clusterView,
Collection<org.apache.sling.discovery.InstanceDescription> listInstances)
checks whether the cluster contains any of the provided instances
|
public static boolean contains(org.apache.sling.discovery.ClusterView clusterView,
String slingId)
throws UndefinedClusterViewException
UndefinedClusterViewExceptionpublic static boolean containsAny(org.apache.sling.discovery.ClusterView clusterView,
Collection<org.apache.sling.discovery.InstanceDescription> listInstances)
throws UndefinedClusterViewException
UndefinedClusterViewExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.