Uses of Class
org.apache.sling.discovery.base.connectors.announcement.Announcement
Packages that use Announcement
Package
Description
Provides topology announcement implementations for discovery
implementors that choose to extend from discovery.base
-
Uses of Announcement in org.apache.sling.discovery.base.connectors.announcement
Methods in org.apache.sling.discovery.base.connectors.announcement that return AnnouncementModifier and TypeMethodDescriptionstatic Announcement
Create an announcement form jsonfinal Announcement
CachedAnnouncement.getAnnouncement()
Methods in org.apache.sling.discovery.base.connectors.announcement that return types with arguments of type AnnouncementModifier and TypeMethodDescriptionAnnouncementRegistry.listAnnouncementsInSameCluster
(ClusterView localClusterView) list all announcements that were received by instances in the local clusterAnnouncementRegistryImpl.listAnnouncementsInSameCluster
(ClusterView localClusterView) AnnouncementRegistry.listLocalAnnouncements()
list all announcements that were received (incoming or inherited) by this instanceAnnouncementRegistryImpl.listLocalAnnouncements()
Methods in org.apache.sling.discovery.base.connectors.announcement with parameters of type AnnouncementModifier and TypeMethodDescriptionboolean
AnnouncementFilter.accept
(String receivingSlingId, Announcement announcement) Check if the provided announcement, which was received by the provided slingId can be accepted or not.void
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) void
Announcement.addIncomingTopologyAnnouncement
(Announcement incomingTopologyAnnouncement) adds an incoming announcement to this announcementboolean
Announcement.correspondsTo
(Announcement announcement) Compare this Announcement with another one, ignoring the 'created' property - which gets added to the JSON object automatically due to SLING-3389 wire-backwards-compatibility - and backoffInterval introduced as part of SLING-3382long
AnnouncementRegistry.registerAnnouncement
(Announcement topologyAnnouncement) Register the given announcement - and returns the backoff interval (in seconds) for stable connectors - or -1 if the registration was not successful (likely indicating a loop)long
AnnouncementRegistryImpl.registerAnnouncement
(Announcement topologyAnnouncement) void
Announcement.registerPing
(Announcement incomingAnnouncement)