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
UndefinedClusterViewException
public static boolean containsAny(org.apache.sling.discovery.ClusterView clusterView, Collection<org.apache.sling.discovery.InstanceDescription> listInstances) throws UndefinedClusterViewException
UndefinedClusterViewException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.