EnqueueAndParseMethodOptions
in package
Handles options tied to asynchronous parsing.
Table of Contents
Properties
- $delaySec : int
- $initialDelaySec : int
- $maxRetries : int
Methods
- __construct() : mixed
- setDelaySec() : $this
- setInitialDelaySec() : $this
- setMaxRetries() : $this
Properties
$delaySec
public
int
$delaySec
Delay (in seconds) between successive attempts to poll a queue.
$initialDelaySec
public
int
$initialDelaySec
Initial delay (in seconds) before attempting to poll a queue.
$maxRetries
public
int
$maxRetries
Maximum amount of retries for a queue.
Methods
__construct()
public
__construct() : mixed
setDelaySec()
public
setDelaySec(int $delay) : $this
Parameters
- $delay : int
-
Delay between successive attempts to poll a queue.
Tags
Return values
$thissetInitialDelaySec()
public
setInitialDelaySec(int $initialDelay) : $this
Parameters
- $initialDelay : int
-
Delay between polls.
Tags
Return values
$thissetMaxRetries()
public
setMaxRetries(int $maxRetries) : $this
Parameters
- $maxRetries : int
-
Maximum allowed retries. Will default to 30 if an invalid number is provided.