MemoryFailedJobProvider class final

In-memory failed job list (sync/memory connections, tests).

Implemented types

Constructors

MemoryFailedJobProvider()

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

all() → Future<List<FailedJob>>
Every failed job, newest first.
override
find(Object id) → Future<FailedJob?>
The failed job id (a row id or UUID), or null.
override
flush() → Future<int>
Deletes every failed job and returns how many there were.
override
forget(Object id) → Future<bool>
Deletes the failed job id; returns whether it existed.
override
log({required String connection, required String queue, required String payload, required String exception}) → Future<Object>
Records a failed job and returns its id.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prune(Duration olderThan) → Future<int>
Deletes entries older than olderThan; returns the count.
override
toString() → String
A string representation of this object.
inherited

Operators

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