# Uses of Class
org.apache.sling.discovery.base.commons.UndefinedClusterViewException

Packages that use UndefinedClusterViewException
Package
Description
org.apache.sling.discovery.base.commons
Provides some common classes for discovery implementors that choose to extend from discovery.base

## Uses of UndefinedClusterViewException in org.apache.sling.discovery.base.commons

Methods in org.apache.sling.discovery.base.commons that throw UndefinedClusterViewException
Modifier and Type
Method
Description
`static boolean`
ClusterViewHelper.`contains(org.apache.sling.discovery.ClusterView clusterView, String slingId)`
checks whether the cluster view contains a particular sling id
`static boolean`
ClusterViewHelper.`containsAny(org.apache.sling.discovery.ClusterView clusterView, Collection<org.apache.sling.discovery.InstanceDescription> listInstances)`
checks whether the cluster contains any of the provided instances
`org.apache.sling.discovery.commons.providers.spi.LocalClusterView`
ClusterViewService.`getLocalClusterView()`
Returns the current, local cluster view - throwing an UndefinedClusterViewException if it cannot determine a clusterView at the moment.