# Package org.apache.sling.discovery.base.connectors.announcement

@Version("3.0.0") package org.apache.sling.discovery.base.connectors.announcement
Provides topology announcement implementations for discovery implementors that choose to extend from discovery.base

Version:
  1.1.2

Related Packages
Package
Description
org.apache.sling.discovery.base.connectors
Provides topology connector related classes for discovery implementors that choose to extend from discovery.base
org.apache.sling.discovery.base.connectors.ping
Provides topology connector implementations for discovery implementors that choose to extend from discovery.base
Class
Description
Announcement
An announcement is the information exchanged by the topology connector and contains all clusters and instances which both the topology connector client and servlet see (in their part before joining the two worlds).
AnnouncementFilter
Filter used during announcement processing internally
AnnouncementRegistry
The announcement registry keeps track of all the announcement that this instance either received by a joined topology connector or that a topology connector inherited from the counterpart (the topology connector servlet)
AnnouncementRegistryImpl
Default implementation of the AnnouncementRegistry which handles JSON-backed announcements and does so by storing them in a local like /var/discovery/impl/clusterNodes/$slingId/announcement.
CachedAnnouncement
With SLING-3389 the Announcement itself doesn't use the created (ie timeout) field anymore (it still has it currently for backwards compatibility on the wire-level) - hence that's why there's this small in-memory wrapper object which contains an Announcement and carries a lastHeartbeat property.