DynamoDbFailedJobProvider
class DynamoDbFailedJobProvider implements FailedJobProviderInterface (View source)
Properties
protected DynamoDbClient | $dynamo | The DynamoDB client instance. | |
protected string | $applicationName | The application name. | |
protected string | $table | The table name. |
Methods
void | __construct(DynamoDbClient $dynamo, string $applicationName, string $table) Create a new DynamoDb failed job provider. | |
string|int|null | log(string $connection, string $queue, string $payload, Throwable $exception) Log a failed job into storage. | |
array | all() Get a list of all of the failed jobs. | |
object|null | find(mixed $id) Get a single failed job. | |
bool | forget(mixed $id) Delete a single failed job from storage. | |
void | flush() Flush all of the failed jobs from storage. |
Details
void __construct(DynamoDbClient $dynamo, string $applicationName, string $table)
Create a new DynamoDb failed job provider.
string|int|null log(string $connection, string $queue, string $payload, Throwable $exception)
Log a failed job into storage.
array all()
Get a list of all of the failed jobs.
object|null find(mixed $id)
Get a single failed job.
bool forget(mixed $id)
Delete a single failed job from storage.
void flush()
Flush all of the failed jobs from storage.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Queue/Failed/DynamoDbFailedJobProvider.html