Class DistributedEventNotifierManager
java.lang.Object
org.apache.sling.distribution.journal.impl.publisher.DistributedEventNotifierManager
- All Implemented Interfaces:
Runnable,org.apache.sling.discovery.TopologyEventListener
public class DistributedEventNotifierManager extends Object implements org.apache.sling.discovery.TopologyEventListener, Runnable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDistributedEventNotifierManager.Configuration -
Constructor Summary
Constructors Constructor Description DistributedEventNotifierManager() -
Method Summary
Modifier and Type Method Description voidactivate(org.osgi.framework.BundleContext context, DistributedEventNotifierManager.Configuration config)voiddeactivate()voidhandleTopologyEvent(org.apache.sling.discovery.TopologyEvent event)protected booleanisLeader()voidrun()
-
Constructor Details
-
DistributedEventNotifierManager
public DistributedEventNotifierManager()
-
-
Method Details
-
activate
public void activate(org.osgi.framework.BundleContext context, DistributedEventNotifierManager.Configuration config) -
deactivate
public void deactivate() -
handleTopologyEvent
public void handleTopologyEvent(org.apache.sling.discovery.TopologyEvent event)- Specified by:
handleTopologyEventin interfaceorg.apache.sling.discovery.TopologyEventListener
-
run
public void run() -
isLeader
protected boolean isLeader()
-