| Package | Description | 
|---|---|
| org.apache.sling.discovery.base.commons | 
 Provides some common classes for discovery implementors that 
 choose to extend from discovery.base 
 | 
| org.apache.sling.discovery.commons.providers | 
 Provides commons utility for providers of the Discovery API. 
 | 
| org.apache.sling.discovery.commons.providers.base | 
 Provides commons implementations for providers of the Discovery API. 
 | 
| org.apache.sling.discovery.commons.providers.spi | 
 Provides an SPI for providers, used by discovery.commons.providers.impl 
 | 
| org.apache.sling.discovery.commons.providers.spi.base | 
 Provides default SPI-implementations used by discovery.commons.providers.impl 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultTopologyView
Default Implementation of the topology view interface 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ViewStateManager.handleNewView(BaseTopologyView newView)
Handles the fact that a new view became true/established and sends out
 TOPOLOGY_INIT to uninitialized listeners and TOPOLOGY_CHANGED to already initialized
 listeners (in the latter case, also sends a TOPOLOGY_CHANGING if that has not yet been 
 done) 
 | 
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 | 
|---|---|
void | 
ViewStateManagerImpl.handleNewView(BaseTopologyView newView)  | 
protected boolean | 
ViewStateManagerImpl.onlyDiffersInProperties(BaseTopologyView newView)  | 
protected boolean | 
ViewStateManagerImpl.unchanged(BaseTopologyView newView)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ClusterSyncService.sync(BaseTopologyView view,
    java.lang.Runnable callback)
Starts the synchronization process and calls the provided
 callback upon completion. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
ClusterSyncHistory.addHistoryEntry(BaseTopologyView view,
               java.lang.String msg)  | 
void | 
SyncTokenService.sync(BaseTopologyView view,
    java.lang.Runnable callback)  | 
void | 
OakBacklogClusterSyncService.sync(BaseTopologyView view,
    java.lang.Runnable callback)  | 
void | 
ClusterSyncServiceChain.sync(BaseTopologyView view,
    java.lang.Runnable callback)  | 
protected void | 
SyncTokenService.syncToken(BaseTopologyView view,
         java.lang.Runnable callback)  | 
Copyright © 2022 The Apache Software Foundation. All rights reserved.