class
Illuminate
/
Queue
/
Failed
/
DynamoDbFailedJobProvider
DynamoDbFailedJobProvider
Implements
Properties
protected
$dynamo Aws\...\DynamoDbClient
The DynamoDB client instance.
Default: null
protected
$applicationName string
The application name.
Default: null
protected
$table string
The table name.
Default: null
Methods
public
__construct ( Aws\...\DynamoDbClient $dynamo , $applicationName , $table ) : void
Create a new DynamoDb failed job provider.
Parameters
- $dynamo Aws\...\DynamoDbClient
- $applicationName string
- $table string
public
log ( $connection , $queue , $payload , $exception ) : string|int|null
Log a failed job into storage.
Parameters
- $connection string
- $queue string
- $payload string
- $exception Throwable
public
all ( ) : array
Get a list of all of the failed jobs.
public
find ( $id ) : object|null
Get a single failed job.
Parameters
- $id mixed
public
forget ( $id ) : bool
Delete a single failed job from storage.
Parameters
- $id mixed
public
flush ( $hours ) : void
Flush all of the failed jobs from storage.
Parameters
- $hours int|null