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 TypeMethodDescriptionvoid
TopologyEventListener.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 TypeMethodDescriptionvoid
InitDelayingTopologyEventListener.handleTopologyEvent
(TopologyEvent event) Constructors in org.apache.sling.discovery.commons with parameters of type TopologyEventModifierConstructorDescriptionInstancesDiff
(@NotNull TopologyEvent event) Create a newInstancesDiff
based on the instances from the old and newTopologyView
topology views contained in theTopologyEvent
event provided. -
Uses of TopologyEvent in org.apache.sling.discovery.commons.providers
Methods in org.apache.sling.discovery.commons.providers that return TopologyEventModifier and TypeMethodDescriptionstatic TopologyEvent
EventHelper.newChangedEvent
(BaseTopologyView oldView, BaseTopologyView newView) Simple factory method for creating a TOPOLOGY_CHANGED event with the given old and new viewsstatic TopologyEvent
EventHelper.newChangingEvent
(BaseTopologyView oldView) Simple factory method for creating a TOPOLOGY_CHANGING event with the given oldViewstatic TopologyEvent
EventHelper.newInitEvent
(BaseTopologyView newView) Simple factory method for creating a TOPOLOGY_INIT event with the given newViewstatic TopologyEvent
EventHelper.newPropertiesChangedEvent
(BaseTopologyView oldView, BaseTopologyView newView) Methods in org.apache.sling.discovery.commons.providers with parameters of type TopologyEventModifier and TypeMethodDescriptionstatic String
EventHelper.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 TypeMethodDescriptionvoid
SlingIdCleanupTask.handleTopologyEvent
(TopologyEvent event) void
TopologyWebConsolePlugin.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 TypeMethodDescriptionvoid
InitDelayingTopologyEventListener.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 TypeMethodDescriptionvoid
JobManagerConfiguration.handleTopologyEvent
(TopologyEvent event) This method is invoked asynchronously from the TopologyHandler.void
TopologyHandler.handleTopologyEvent
(TopologyEvent event)