|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Announcement | |
---|---|
org.apache.sling.discovery.impl.topology.announcement |
Uses of Announcement in org.apache.sling.discovery.impl.topology.announcement |
---|
Methods in org.apache.sling.discovery.impl.topology.announcement that return Announcement | |
---|---|
static Announcement |
Announcement.fromJSON(String topologyAnnouncementJSON)
Create an announcement form json |
Announcement |
CachedAnnouncement.getAnnouncement()
|
Methods in org.apache.sling.discovery.impl.topology.announcement that return types with arguments of type Announcement | |
---|---|
Collection<Announcement> |
AnnouncementRegistryImpl.listAnnouncementsInSameCluster(org.apache.sling.discovery.ClusterView localClusterView)
|
Collection<Announcement> |
AnnouncementRegistry.listAnnouncementsInSameCluster(org.apache.sling.discovery.ClusterView localClusterView)
list all announcements that were received by instances in the local cluster |
Collection<Announcement> |
AnnouncementRegistryImpl.listLocalAnnouncements()
|
Collection<Announcement> |
AnnouncementRegistry.listLocalAnnouncements()
list all announcements that were received (incoming or inherited) by this instance |
Methods in org.apache.sling.discovery.impl.topology.announcement with parameters of type Announcement | |
---|---|
boolean |
AnnouncementFilter.accept(String receivingSlingId,
Announcement announcement)
Check if the provided announcement, which was received by the provided slingId can be accepted or not. |
void |
AnnouncementRegistryImpl.addAllExcept(Announcement target,
org.apache.sling.discovery.ClusterView clusterView,
AnnouncementFilter filter)
|
void |
AnnouncementRegistry.addAllExcept(Announcement target,
org.apache.sling.discovery.ClusterView localClusterView,
AnnouncementFilter filter)
Add all registered announcements to the given target announcement that are accepted by the given filter |
void |
Announcement.addIncomingTopologyAnnouncement(Announcement incomingTopologyAnnouncement)
adds an incoming announcement to this announcement |
boolean |
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-3382 |
long |
AnnouncementRegistryImpl.registerAnnouncement(Announcement topologyAnnouncement)
|
long |
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) |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |