Interface RetryStrategyInterface
Used to instruct a CommandRetry object on whether or not a retry for an action should be performed
        
    Namespace: Cake\Core\Retry
    
    
    
      
  
  
        Method Summary
- 
          shouldRetry() publicReturns true if the action can be retried, false otherwise. 
Method Detail
shouldRetry() ΒΆ public
shouldRetry(Exception $exception, int $retryCount): boolReturns true if the action can be retried, false otherwise.
Parameters
- 
                Exception$exception
- The exception that caused the action to fail 
- 
                int$retryCount
- The number of times action has been retried 
Returns
boolWhether or not it is OK to retry the action
