Documentation

FailoverTransport extends RoundRobinTransport
in package

Uses several Transports using a failover algorithm.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Properties

$currentTransport  : mixed
$cursor  : int
$deadTransports  : SplObjectStorage<TransportInterface, float>
$retryPeriod  : int
$transports  : array<string|int, mixed>

Methods

__construct()  : mixed
__toString()  : string
send()  : SentMessage
supports()  : bool
getInitialCursor()  : int
getNameSymbol()  : string
getNextTransport()  : TransportInterface|null
Rotates the transport list around and returns the first instance.
isTransportDead()  : bool
moveCursor()  : int

Properties

Methods

moveCursor()

private moveCursor(int $cursor) : int
Parameters
$cursor : int
Return values
int

        
On this page

Search results