@ProviderType
public interface TopologyView
All instances in a topology must and do have a unique sling.id.
InstanceDescription.getSlingId()
Modifier and Type | Method and Description |
---|---|
java.util.Set<InstanceDescription> |
findInstances(InstanceFilter filter)
Searches through this topology and picks those accepted by the provided
InstanceFilter - and returns them without any particular order |
java.util.Set<ClusterView> |
getClusterViews()
Provides the collection of ClusterViews.
|
java.util.Set<InstanceDescription> |
getInstances()
Provides the set of InstanceDescriptions in the entire topology,
without any particular order
|
InstanceDescription |
getLocalInstance()
Provides the InstanceDescription belonging to this instance.
|
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)
|
boolean isCurrent()
InstanceDescription getLocalInstance()
java.util.Set<InstanceDescription> getInstances()
java.util.Set<InstanceDescription> findInstances(InstanceFilter filter)
InstanceFilter
- and returns them without any particular orderfilter
- the filter to usejava.util.Set<ClusterView> getClusterViews()
Note that all InstanceDescriptions belong to exactly one ClusterView - including InstanceDescriptions that form "a cluster of 1"
Copyright © 2010 - 2020 Adobe. All Rights Reserved