Uses of Class
org.apache.sling.discovery.TopologyEvent
Packages that use TopologyEvent
Package
Description
Provides a service to interface which may be implemented by applications
to get notified on cluster topology changes.
Provides commons utility for users for the Discovery API.
Provides commons utility for providers of the Discovery API.
-
Uses of TopologyEvent in org.apache.sling.discovery
Methods in org.apache.sling.discovery with parameters of type TopologyEventModifier and TypeMethodDescriptionvoidTopologyEventListener.handleTopologyEvent(TopologyEvent event) Inform the service about an event in the topology - or in the discovery of the topology. -
Uses of TopologyEvent in org.apache.sling.discovery.commons
Methods in org.apache.sling.discovery.commons with parameters of type TopologyEventModifier and TypeMethodDescriptionvoidInitDelayingTopologyEventListener.handleTopologyEvent(TopologyEvent event) Constructors in org.apache.sling.discovery.commons with parameters of type TopologyEventModifierConstructorDescriptionInstancesDiff(@NotNull TopologyEvent event) Create a newInstancesDiffbased on the instances from the old and newTopologyViewtopology views contained in theTopologyEventevent provided. -
Uses of TopologyEvent in org.apache.sling.discovery.commons.providers
Methods in org.apache.sling.discovery.commons.providers that return TopologyEventModifier and TypeMethodDescriptionstatic TopologyEventEventHelper.newChangedEvent(BaseTopologyView oldView, BaseTopologyView newView) Simple factory method for creating a TOPOLOGY_CHANGED event with the given old and new viewsstatic TopologyEventEventHelper.newChangingEvent(BaseTopologyView oldView) Simple factory method for creating a TOPOLOGY_CHANGING event with the given oldViewstatic TopologyEventEventHelper.newInitEvent(BaseTopologyView newView) Simple factory method for creating a TOPOLOGY_INIT event with the given newViewstatic TopologyEventEventHelper.newPropertiesChangedEvent(BaseTopologyView oldView, BaseTopologyView newView) Methods in org.apache.sling.discovery.commons.providers with parameters of type TopologyEventModifier and TypeMethodDescriptionstatic StringEventHelper.toShortString(TopologyEvent event) Returns a shorter toString than the default TopologyEvent.toString() which can be rather large and unusable in log files -
Uses of TopologyEvent in org.apache.sling.discovery.impl.support
Methods in org.apache.sling.discovery.impl.support with parameters of type TopologyEvent -
Uses of TopologyEvent in org.apache.sling.discovery.oak
Methods in org.apache.sling.discovery.oak with parameters of type TopologyEventModifier and TypeMethodDescriptionvoidSlingIdCleanupTask.handleTopologyEvent(TopologyEvent event) voidTopologyWebConsolePlugin.handleTopologyEvent(TopologyEvent event) keep a truncated history of the log events for information purpose (to be shown in the webconsole) -
Uses of TopologyEvent in org.apache.sling.event.impl.discovery
Methods in org.apache.sling.event.impl.discovery with parameters of type TopologyEventModifier and TypeMethodDescriptionvoidInitDelayingTopologyEventListener.handleTopologyEvent(TopologyEvent event) -
Uses of TopologyEvent in org.apache.sling.event.impl.jobs.config
Fields in org.apache.sling.event.impl.jobs.config declared as TopologyEventMethods in org.apache.sling.event.impl.jobs.config with parameters of type TopologyEventModifier and TypeMethodDescriptionvoidJobManagerConfiguration.handleTopologyEvent(TopologyEvent event) This method is invoked asynchronously from the TopologyHandler.voidTopologyHandler.handleTopologyEvent(TopologyEvent event)