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