abstract class ProducerService (View source)

Traits

Properties

protected int $delay

Define the delay

protected string $queue

Define the queue

protected int $retry

Define the time of retry

protected int $priority

Define the priority

Methods

int
getPriority()

Get the producer priority

int
getRetry()

Get the producer retry

int
getQueue()

Get the producer queue

int
getDelay()

Get the producer delay

mixed
process()

Process the producer

Details

final int getPriority()

Get the producer priority

Return Value

int

final int getRetry()

Get the producer retry

Return Value

int

final int getQueue()

Get the producer queue

Return Value

int

final int getDelay()

Get the producer delay

Return Value

int

abstract mixed process()

Process the producer

Return Value

mixed