Uses of Interface
org.apache.sling.discovery.ClusterView
Packages that use ClusterView
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.
Provides an SPI for providers, used by discovery.commons.providers.impl
-
Uses of ClusterView in org.apache.sling.discovery
Methods in org.apache.sling.discovery that return ClusterViewModifier and TypeMethodDescriptionInstanceDescription.getClusterView()
Returns the ClusterView of which this instance is part of.Methods in org.apache.sling.discovery that return types with arguments of type ClusterViewModifier and TypeMethodDescriptionTopologyView.getClusterViews()
Provides the collection of ClusterViews. -
Uses of ClusterView in org.apache.sling.discovery.base.commons
Methods in org.apache.sling.discovery.base.commons that return types with arguments of type ClusterViewMethods in org.apache.sling.discovery.base.commons with parameters of type ClusterViewModifier and TypeMethodDescriptionstatic boolean
ClusterViewHelper.contains
(ClusterView clusterView, String slingId) checks whether the cluster view contains a particular sling idstatic boolean
ClusterViewHelper.containsAny
(ClusterView clusterView, Collection<InstanceDescription> listInstances) checks whether the cluster contains any of the provided instances -
Uses of ClusterView in org.apache.sling.discovery.base.connectors.announcement
Methods in org.apache.sling.discovery.base.connectors.announcement with parameters of type ClusterViewModifier and TypeMethodDescriptionvoid
AnnouncementRegistry.addAllExcept
(Announcement target, ClusterView localClusterView, AnnouncementFilter filter) Add all registered announcements to the given target announcement that are accepted by the given filtervoid
AnnouncementRegistryImpl.addAllExcept
(Announcement target, ClusterView clusterView, AnnouncementFilter filter) AnnouncementRegistry.listAnnouncementsInSameCluster
(ClusterView localClusterView) list all announcements that were received by instances in the local clusterAnnouncementRegistryImpl.listAnnouncementsInSameCluster
(ClusterView localClusterView) AnnouncementRegistry.listInstances
(ClusterView localClusterView) Returns the list of instances contained in all non-expired announcements of this registryAnnouncementRegistryImpl.listInstances
(ClusterView localClusterView) void
Announcement.setLocalCluster
(ClusterView localCluster) sets the local clusterview -
Uses of ClusterView in org.apache.sling.discovery.commons
Methods in org.apache.sling.discovery.commons with parameters of type ClusterViewModifier and TypeMethodDescription@NotNull InstancesDiff.InstanceCollection
InstancesDiff.InstanceCollection.isInClusterView
(@Nullable ClusterView clusterView) Keep only the instances that are contained in the sameClusterView
cluster view as the one provided.@NotNull InstancesDiff.InstanceCollection
InstancesDiff.InstanceCollection.isNotInClusterView
(@Nullable ClusterView clusterView) Filter out the instances that are contained in the sameClusterView
cluster view as the one provided.Constructors in org.apache.sling.discovery.commons with parameters of type ClusterViewModifierConstructorDescriptionInstancesDiff
(@NotNull ClusterView oldView, @NotNull ClusterView newView) Create a newInstancesDiff
based on the instances from the old and newClusterView
cluster views provided. -
Uses of ClusterView in org.apache.sling.discovery.commons.providers
Classes in org.apache.sling.discovery.commons.providers that implement ClusterViewModifier and TypeClassDescriptionclass
Default implementation of the ClusterView interface.Methods in org.apache.sling.discovery.commons.providers that return ClusterView -
Uses of ClusterView in org.apache.sling.discovery.commons.providers.spi
Classes in org.apache.sling.discovery.commons.providers.spi that implement ClusterView