PHP 클래스 Dusterio\AwsWorker\Jobs\AwsJob

상속: extends Illuminate\Queue\Jobs\Job, implements Illuminate\Contracts\Queue\Job
파일 보기 프로젝트 열기: dusterio/laravel-aws-worker

보호된 프로퍼티들

프로퍼티 타입 설명
$job array The Amazon SQS job instance.

공개 메소드들

메소드 설명
__construct ( Illuminate\Container\Container $container, string $queue, array $job ) Create a new job instance.
attempts ( ) : integer Get the number of times the job has been attempted.
delete ( ) : void Actually, AWS will do this for us, we just need to mark the job as deleted
fire ( ) : void Fire the job.
getContainer ( ) : Illuminate\Container\Container Get the IoC container instance.
getJobId ( ) : string Get the job identifier.
getRawBody ( ) : string Get the raw body string for the job.
getSqs ( ) : Aws\Sqs\SqsClient We don't need an underlying SQS client instance.
getSqsJob ( ) : array Get the underlying raw SQS job.
release ( integer $delay ) : void AWS daemon will do this for us

메소드 상세

__construct() 공개 메소드

Create a new job instance.
public __construct ( Illuminate\Container\Container $container, string $queue, array $job )
$container Illuminate\Container\Container
$queue string
$job array

attempts() 공개 메소드

Get the number of times the job has been attempted.
public attempts ( ) : integer
리턴 integer

delete() 공개 메소드

Actually, AWS will do this for us, we just need to mark the job as deleted
public delete ( ) : void
리턴 void

fire() 공개 메소드

Fire the job.
public fire ( ) : void
리턴 void

getContainer() 공개 메소드

Get the IoC container instance.
public getContainer ( ) : Illuminate\Container\Container
리턴 Illuminate\Container\Container

getJobId() 공개 메소드

Get the job identifier.
public getJobId ( ) : string
리턴 string

getRawBody() 공개 메소드

Get the raw body string for the job.
public getRawBody ( ) : string
리턴 string

getSqs() 공개 메소드

We don't need an underlying SQS client instance.
public getSqs ( ) : Aws\Sqs\SqsClient
리턴 Aws\Sqs\SqsClient

getSqsJob() 공개 메소드

Get the underlying raw SQS job.
public getSqsJob ( ) : array
리턴 array

release() 공개 메소드

AWS daemon will do this for us
public release ( integer $delay ) : void
$delay integer
리턴 void

프로퍼티 상세

$job 보호되어 있는 프로퍼티

The Amazon SQS job instance.
protected array $job
리턴 array