Used to instruct a CommandRetry object on whether a retry for an action should be performed
Returns true if the action can be retried, false otherwise.
shouldRetry(Exception $exception, int $retryCount): bool
Returns true if the action can be retried, false otherwise.
Exception
$exception The exception that caused the action to fail
int
$retryCount The number of times action has been retried
bool
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.Core.Retry.RetryStrategyInterface.html