PHP Class Graze\Supervisor\Handler\RetryHandler

Inheritance: extends DecoratedHandler
Afficher le fichier Open project: graze/supervisor

Protected Properties

Свойство Type Description
$max

Méthodes publiques

Méthode Description
__construct ( integer $max, Graze\Supervisor\Handler\HandlerInterface $handler = null )
handleFail ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor, Exception $exception = null )
handlePass ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor )

Method Details

__construct() public méthode

public __construct ( integer $max, Graze\Supervisor\Handler\HandlerInterface $handler = null )
$max integer
$handler Graze\Supervisor\Handler\HandlerInterface

handleFail() public méthode

public handleFail ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor, Exception $exception = null )
$retries integer
$supervisor Graze\Supervisor\SupervisorInterface
$exception Exception

handlePass() public méthode

public handlePass ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor )
$retries integer
$supervisor Graze\Supervisor\SupervisorInterface

Property Details

$max protected_oe property

protected $max