MemoryQueueStore class
In-memory QueueStore implementation.
This store keeps queued requests only for the lifetime of the current process.
- Implemented types
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
-
clear(
) → Future< void> -
Clears the queue.
override
-
enqueue(
QueuedRequest r) → Future< void> -
Adds a request to the in-memory queue.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
peekAll(
) → Future< List< QueuedRequest> > -
Returns an immutable snapshot of the queue.
override
-
peekAllSync(
) → List< QueuedRequest> - Returns an immutable snapshot of the queue synchronously.
-
removeAt(
int index) → Future< void> -
Removes the item at
index.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited