Class PackageDistributedNotifier
java.lang.Object
org.apache.sling.distribution.journal.impl.publisher.PackageDistributedNotifier
- All Implemented Interfaces:
TopologyChangeHandler
@ParametersAreNonnullByDefault
public class PackageDistributedNotifier
extends Object
implements TopologyChangeHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPackageDistributedNotifier
(org.osgi.service.event.EventAdmin eventAdmin, PubQueueProvider pubQueueCacheService, org.apache.sling.distribution.journal.MessagingProvider messagingProvider, Topics topics, org.apache.sling.api.resource.ResourceResolverFactory resolverFactory, boolean ensureEvent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
changed
(TopologyViewDiff diffView) Invoked by the framework when the TopologyView has changed.protected void
notifyDistributed
(String pubAgentName, org.apache.sling.distribution.queue.DistributionQueueItem queueItem) protected void
-
Field Details
-
STORE_TYPE_OFFSETS
- See Also:
-
-
Constructor Details
-
Method Details
-
changed
Description copied from interface:TopologyChangeHandler
Invoked by the framework when the TopologyView has changed.- Specified by:
changed
in interfaceTopologyChangeHandler
- Parameters:
diffView
- the diff between the old and new topology views
-
storeLastDistributedOffset
protected void storeLastDistributedOffset() -
notifyDistributed
protected void notifyDistributed(String pubAgentName, org.apache.sling.distribution.queue.DistributionQueueItem queueItem)
-