Documentation

RetryStrategyInterface

Tags
author

Fabien Potencier fabien@symfony.com

author

Grégoire Pineau lyrixx@lyrixx.info

author

Ryan Weaver ryan@symfonycasts.com

Table of Contents

Methods

getWaitingTime()  : int
isRetryable()  : bool

Methods

getWaitingTime()

public getWaitingTime(Envelope $message[, Throwable|null $throwable = null ]) : int
Parameters
$message : Envelope
$throwable : Throwable|null = null

The cause of the failed handling

Return values
int

The time to delay/wait in milliseconds

isRetryable()

public isRetryable(Envelope $message[, Throwable|null $throwable = null ]) : bool
Parameters
$message : Envelope
$throwable : Throwable|null = null

The cause of the failed handling

Return values
bool

        
On this page

Search results