TaskQueueManager class

Singleton class for managing TaskQueues.

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

create<S extends TaskQueue>(S taskQueue) → S
Creates and registers a new TaskQueue of type S. Throws TaskQueueAlreadyExists if one already exists.
delete<S extends TaskQueue>() → void
Deletes the TaskQueue of type S and releases its resources.
deleteAll() → void
Deletes all TaskQueues.
get<S extends TaskQueue>() → S
Retrieves the registered TaskQueue of type S. Throws TaskQueueNotFoundException if not found.
getOrCreate<S extends TaskQueue>(S taskQueue) → S
Returns the TaskQueue of type S if it exists, otherwise creates one using the provided instance.
isRegistered<S extends TaskQueue>() bool
Checks if a TaskQueue of type S is registered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance TaskQueueManager
final