Documentation

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

Methods

setDelaySec()

public setDelaySec(int $delay) : $this
Parameters
$delay : int

Delay between successive attempts to poll a queue.

Tags
throws
MindeeApiException

Throws if the delay is too low.

Return values
$this

setInitialDelaySec()

public setInitialDelaySec(int $initialDelay) : $this
Parameters
$initialDelay : int

Delay between polls.

Tags
throws
MindeeApiException

Throws if the initial parsing delay is less than 4 seconds.

Return values
$this

setMaxRetries()

public setMaxRetries(int $maxRetries) : $this
Parameters
$maxRetries : int

Maximum allowed retries. Will default to 30 if an invalid number is provided.

Return values
$this

        
On this page

Search results