Package org.apache.sling.discovery.commons.providers


@Version("1.0.0") package org.apache.sling.discovery.commons.providers
Provides commons utility for providers of the Discovery API.
Version:
1.0.0
  • Class
    Description
    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.
    Default implementation of the ClusterView interface.
    Base implementation for the InstanceDescription interface.
    Contains static factory methods for creating TopologyEvents with BaseTopologyView as well as some TopologyEvent related helper methods
    InstanceDescription which represents an instance that is explicitly not local, ie isOwn==false.
    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.