Package org.apache.pulsar.broker.delayed
Interface DelayedDeliveryTrackerFactory
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
InMemoryDelayedDeliveryTrackerFactory
Factory of InMemoryDelayedDeliveryTracker objects. This is the entry point for implementations.
Note: this interface is still being refined and some breaking changes might be introduced.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the factory and release all the resources.voidinitialize(org.apache.pulsar.broker.ServiceConfiguration config) Initialize the factory implementation from the broker service configuration.newTracker(PersistentDispatcherMultipleConsumers dispatcher) Create a new tracker instance.
-
Method Details
-
initialize
Initialize the factory implementation from the broker service configuration.- Parameters:
config- the broker service config object- Throws:
IOException
-
newTracker
Create a new tracker instance.- Parameters:
dispatcher- a multi-consumer dispatcher instance
-
close
Close the factory and release all the resources.- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-