QueueDriverRegistry class

Registry for managing queue drivers. Provides centralized registration and resolution of queue drivers.

Implemented types

Constructors

QueueDriverRegistry()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clears all registered drivers.
getDefaultDriver() QueueDriver
Gets the current default driver.
override
getDefaultDriverName() String
Gets the name of the current default driver.
override
getDriver(String name) QueueDriver?
Gets a queue driver by name. Returns null if the driver is not registered.
override
getDriverNames() List<String>
Gets all registered driver names.
override
hasDriver(String name) bool
Checks if a driver is registered.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDriver(String name, QueueDriver driver) → void
Registers a queue driver with the given name. Throws QueueException if the driver name is empty or already registered.
override
removeDriver(String name) → void
Removes a driver from the registry. Throws QueueException if the driver is not registered or is the default driver.
override
setDefaultDriver(String name) → void
Sets the default queue driver. Throws QueueException if the driver is not registered.
override
toString() String
A string representation of this object.
inherited
unregister(String name) → void
Unregisters a driver from the registry.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited