Service/WindowsAzure/RetryPolicy/RetryN.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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Subpackage
- RetryPolicy
- Version
- $Id: RetryN.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_WindowsAzure_RetryPolicy_RetryN
- Parent(s)
- \Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__construct(int $count = 1, int $intervalBetweenRetries = 0) : void
Constructor
Name | Type | Description |
---|---|---|
$count | int | Number of retries |
$intervalBetweenRetries | int | Interval between retries (in milliseconds) |


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


noRetry() : \Zend_Service_WindowsAzure_RetryPolicy_NoRetry
Create a Zend_Service_WindowsAzure_RetryPolicy_NoRetry instance
Inherited from: \Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract::noRetry()Type | Description |
---|---|
\Zend_Service_WindowsAzure_RetryPolicy_NoRetry |


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