ProducerService
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
mixed
from
SerializesModels
int
getPriority()
Get the producer priority
int
getRetry()
Get the producer retry
string
getQueue()
Get the producer queue
int
getDelay()
Get the producer delay
void
process()
Process the producer
Details
array
__serialize()
Prepare the instance values for serialization.
void
__unserialize(array $values)
Restore the model after serialization.
protected mixed
getPropertyValue(ReflectionProperty $property)
Get the property value for the given property.
final int
getPriority()
Get the producer priority
final int
getRetry()
Get the producer retry
final string
getQueue()
Get the producer queue
final int
getDelay()
Get the producer delay
abstract void
process()
Process the producer