| Package | Description | 
|---|---|
| org.apache.sling.discovery | 
 Provides a service to interface which may be implemented by applications
 to get notified on cluster topology changes. 
 | 
| org.apache.sling.discovery.commons | 
 Provides commons utility for users for the Discovery API. 
 | 
| org.apache.sling.discovery.commons.providers | 
 Provides commons utility for providers of the Discovery API. 
 | 
| org.apache.sling.discovery.oak | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TopologyEventListener.handleTopologyEvent(TopologyEvent event)
Inform the service about an event in the topology - or in the discovery
 of the topology. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
InitDelayingTopologyEventListener.handleTopologyEvent(TopologyEvent event)  | 
| Constructor and Description | 
|---|
InstancesDiff(@NotNull TopologyEvent event)
Create a new  
InstancesDiff based on the instances from the old and
 new TopologyView topology views contained in the TopologyEvent event provided. | 
| Modifier and Type | Method and Description | 
|---|---|
static TopologyEvent | 
EventHelper.newChangedEvent(BaseTopologyView oldView,
               BaseTopologyView newView)
Simple factory method for creating a TOPOLOGY_CHANGED event with the given old and new views 
 | 
static TopologyEvent | 
EventHelper.newChangingEvent(BaseTopologyView oldView)
Simple factory method for creating a TOPOLOGY_CHANGING event with the given oldView 
 | 
static TopologyEvent | 
EventHelper.newInitEvent(BaseTopologyView newView)
Simple factory method for creating a TOPOLOGY_INIT event with the given newView 
 | 
static TopologyEvent | 
EventHelper.newPropertiesChangedEvent(BaseTopologyView oldView,
                         BaseTopologyView newView)  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
EventHelper.toShortString(TopologyEvent event)
Returns a shorter toString than the default TopologyEvent.toString()
 which can be rather large and unusable in log files 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TopologyWebConsolePlugin.handleTopologyEvent(TopologyEvent event)
keep a truncated history of the log events for information purpose (to be shown in the webconsole) 
 | 
Copyright © 2022 The Apache Software Foundation. All rights reserved.