IQueueDriverRegistry class abstract
Interface for queue driver registry management. Defines the contract for registering and retrieving queue drivers.
- Implementers
Constructors
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
-
getDefaultDriver(
) → QueueDriver - Gets the current default driver.
-
getDefaultDriverName(
) → String - Gets the name of the current default driver.
-
getDriver(
String name) → QueueDriver? - Gets a queue driver by name. Returns null if the driver is not registered.
-
getDriverNames(
) → List< String> - Gets all registered driver names.
-
hasDriver(
String name) → bool - Checks if a driver is registered.
-
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.
-
removeDriver(
String name) → void - Removes a driver from the registry. Throws QueueException if the driver is not registered or is the default driver.
-
setDefaultDriver(
String name) → void - Sets the default queue driver. Throws QueueException if the driver is not registered.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
String name) → void - Unregisters a driver from the registry.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited