Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Subpackage
- RetryPolicy
- Version
- $Id$
\Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract
Package: Zend_Service_WindowsAzure\RetryPolicy


- Children
- \Zend_Service_WindowsAzure_RetryPolicy_RetryN
- \Zend_Service_WindowsAzure_RetryPolicy_NoRetry
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods

execute(string | array $function, array $parameters = array()) : mixedabstract
Execute function under retry policy
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $function | string | array | Function to execute |
| $parameters | array | Parameters for function call |
| Type | Description |
|---|---|
| mixed |

noRetry() : \Zend_Service_WindowsAzure_RetryPolicy_NoRetrystatic
Create a Zend_Service_WindowsAzure_RetryPolicy_NoRetry instance
Returns
| Type | Description |
|---|---|
| \Zend_Service_WindowsAzure_RetryPolicy_NoRetry |

retryN(int $count = 1, int $intervalBetweenRetries = 0) : \Zend_Service_WindowsAzure_RetryPolicy_RetryNstatic
Create a Zend_Service_WindowsAzure_RetryPolicy_RetryN instance
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $count | int | Number of retries |
| $intervalBetweenRetries | int | Interval between retries (in milliseconds) |
| Type | Description |
|---|---|
| \Zend_Service_WindowsAzure_RetryPolicy_RetryN |