# Uses of Interface
org.apache.sling.distribution.journal.queue.PubQueueProvider

Packages that use PubQueueProvider
Package
Description
org.apache.sling.distribution.journal.impl.publisher
org.apache.sling.distribution.journal.queue

## Uses of PubQueueProvider in org.apache.sling.distribution.journal.impl.publisher

Constructors in org.apache.sling.distribution.journal.impl.publisher with parameters of type PubQueueProvider
Modifier
Constructor
Description
``
`DistributedEventNotifierManager(org.osgi.framework.BundleContext context, DistributedEventNotifierManager.Configuration config, org.osgi.service.event.EventAdmin eventAdmin, PubQueueProvider pubQueueCacheService, org.apache.sling.distribution.journal.MessagingProvider messagingProvider, Topics topics, org.apache.sling.api.resource.ResourceResolverFactory resolverFactory, org.osgi.service.event.EventHandler distributedEventHandler)`
Register the package distributed event notifier service on all or only the leader instance in a cluster according to the configuration.
``
`DistributionPublisher(org.apache.sling.distribution.journal.MessagingProvider messagingProvider, org.apache.sling.distribution.packaging.DistributionPackageBuilder packageBuilder, DiscoveryService discoveryService, PackageMessageFactory factory, org.osgi.service.event.EventAdmin eventAdmin, Topics topics, org.apache.sling.commons.metrics.MetricsService metricsService, PubQueueProvider pubQueueProvider, org.osgi.service.condition.Condition limitToggle, PublisherConfiguration config, org.osgi.framework.BundleContext context)`
``
`PackageDistributedNotifier(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)`

## Uses of PubQueueProvider in org.apache.sling.distribution.journal.queue

Methods in org.apache.sling.distribution.journal.queue that return PubQueueProvider
Modifier and Type
Method
Description
`PubQueueProvider`
PubQueueProviderFactory.`create(CacheCallback callback)`