@Version("1.0.0")
Package org.apache.sling.discovery.commons.providers
Provides commons utility for providers of the Discovery API.
-
Interface Summary Interface Description ViewStateManager The ViewStateManager is at the core of managing TopologyEventListeners, the 'view state' (changing vs changed) and sending out the appropriate and according TopologyEvents to the registered listeners - depending on the implementation it also supports the ClusterSyncService, which is invoked on handleNewView. -
Class Summary Class Description BaseTopologyView Very simple abstract base class for the TopologyView which comes with the 'setNotCurrent()' method - that allows the ViewStateManager to mark a topologyView as no longer current - and the isCurrent() is handled accordingly.DefaultClusterView Default implementation of the ClusterView interface.DefaultInstanceDescription Base implementation for the InstanceDescription interface.EventHelper Contains static factory methods for creating TopologyEvents with BaseTopologyView as well as some TopologyEvent related helper methodsNonLocalInstanceDescription InstanceDescription which represents an instance that is explicitly not local, ie isOwn==false.