Uses of Interface
org.apache.sling.discovery.InstanceDescription
Packages that use InstanceDescription
Package
Description
Provides a service to interface which may be implemented by applications
 to get notified on cluster topology changes.
Provides some common classes for discovery implementors that 
 choose to extend from discovery.base
Provides topology announcement implementations for discovery
 implementors that choose to extend from discovery.base
Provides commons utility for users for the Discovery API.
Provides commons utility for providers of the Discovery API.
- 
Uses of InstanceDescription in org.apache.sling.discoveryMethods in org.apache.sling.discovery that return InstanceDescriptionModifier and TypeMethodDescriptionClusterView.getLeader()Provides the InstanceDescription belonging to the leader instance.TopologyView.getLocalInstance()Provides the InstanceDescription belonging to this instance.Methods in org.apache.sling.discovery that return types with arguments of type InstanceDescriptionModifier and TypeMethodDescriptionTopologyView.findInstances(InstanceFilter filter) Searches through this topology and picks those accepted by the providedInstanceFilter- and returns them without any particular orderClusterView.getInstances()Provides the list of InstanceDescriptions with a stable ordering.TopologyView.getInstances()Provides the set of InstanceDescriptions in the entire topology, without any particular orderMethods in org.apache.sling.discovery with parameters of type InstanceDescriptionModifier and TypeMethodDescriptionbooleanInstanceFilter.accept(InstanceDescription instance) Returns true if this InstanceFilter selects the given InstanceDescription.
- 
Uses of InstanceDescription in org.apache.sling.discovery.base.commonsMethods in org.apache.sling.discovery.base.commons that return InstanceDescriptionMethods in org.apache.sling.discovery.base.commons that return types with arguments of type InstanceDescriptionModifier and TypeMethodDescriptionDefaultTopologyView.findInstances(InstanceFilter picker) DefaultTopologyView.getInstances()Method parameters in org.apache.sling.discovery.base.commons with type arguments of type InstanceDescriptionModifier and TypeMethodDescriptionvoidDefaultTopologyView.addInstances(Collection<InstanceDescription> instances) Adds the given instances to this topologystatic booleanClusterViewHelper.containsAny(ClusterView clusterView, Collection<InstanceDescription> listInstances) checks whether the cluster contains any of the provided instancesConstructor parameters in org.apache.sling.discovery.base.commons with type arguments of type InstanceDescriptionModifierConstructorDescriptionDefaultTopologyView(Collection<InstanceDescription> instances) Create a new topology filled with the given list of instances
- 
Uses of InstanceDescription in org.apache.sling.discovery.base.connectors.announcementMethods in org.apache.sling.discovery.base.connectors.announcement that return types with arguments of type InstanceDescriptionModifier and TypeMethodDescriptionAnnouncement.listInstances()Returns the list of instances that are contained in this announcementAnnouncementRegistry.listInstances(ClusterView localClusterView) Returns the list of instances contained in all non-expired announcements of this registryAnnouncementRegistryImpl.listInstances(ClusterView localClusterView) 
- 
Uses of InstanceDescription in org.apache.sling.discovery.commonsMethods in org.apache.sling.discovery.commons that return types with arguments of type InstanceDescriptionModifier and TypeMethodDescription@NotNull Collection<InstanceDescription>InstancesDiff.InstanceCollection.get()Return the collection ofInstanceDescriptioninstances that have not been filtered out.
- 
Uses of InstanceDescription in org.apache.sling.discovery.commons.providersClasses in org.apache.sling.discovery.commons.providers that implement InstanceDescriptionModifier and TypeClassDescriptionclassBase implementation for the InstanceDescription interface.classInstanceDescription which represents an instance that is explicitly not local, ie isOwn==false.Methods in org.apache.sling.discovery.commons.providers that return InstanceDescriptionModifier and TypeMethodDescriptionBaseTopologyView.getInstance(String slingId) Simple getter for a particular slingIdDefaultClusterView.getLeader()DefaultClusterView.getLocalInstance()Returns the local InstanceDescription or null if no local instance is listedMethods in org.apache.sling.discovery.commons.providers that return types with arguments of type InstanceDescriptionMethods in org.apache.sling.discovery.commons.providers with parameters of type InstanceDescriptionModifier and TypeMethodDescriptionbooleanDefaultClusterView.removeInstanceDescription(InstanceDescription instance) Removes the given instance from this cluster.
- 
Uses of InstanceDescription in org.apache.sling.event.impl.jobs.configMethods in org.apache.sling.event.impl.jobs.config that return types with arguments of type InstanceDescriptionModifier and TypeMethodDescriptionTopologyCapabilities.getInstanceCapabilities()Get the instance capabilities.TopologyCapabilities.getPotentialTargets(String jobTopic) Return the potential targets (Sling IDs) sorted by IDMethods in org.apache.sling.event.impl.jobs.config with parameters of type InstanceDescriptionModifier and TypeMethodDescriptionintTopologyCapabilities.InstanceDescriptionComparator.compare(InstanceDescription o1, InstanceDescription o2)