Class TopologyHandler
- java.lang.Object
-
- org.apache.sling.event.impl.jobs.config.TopologyHandler
-
- All Implemented Interfaces:
Runnable,org.apache.sling.discovery.TopologyEventListener
public class TopologyHandler extends Object implements org.apache.sling.discovery.TopologyEventListener, Runnable
This topology handler is handling the topology change events asynchronously and processes them by queuing them.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopologyHandler.QueueItemWe need a holder class to be able to put something into the queue to stop it.
-
Constructor Summary
Constructors Constructor Description TopologyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate()protected voiddeactivate()voidhandleTopologyEvent(org.apache.sling.discovery.TopologyEvent event)voidrun()
-