Service/WindowsAzure/RetryPolicy/RetryN.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Service_WindowsAzure
- subpackage
- RetryPolicy
- version
- $Id$
- Classes
- Zend_Service_WindowsAzure_RetryPolicy_RetryN
Description
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.
Zend_Service_WindowsAzure_RetryPolicy_RetryN
- Extends from
- Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Service_WindowsAzure
- subpackage
- RetryPolicy
- Properties
- $_retryCount
- $_retryInterval
- Methods
- __construct
- execute
Description
Properties
int $_retryCount = '1'
Number of retries
Details
- $_retryCount
- int
- visibility
- protected
- default
- 1
- final
- false
- static
- false
int $_retryInterval = '0'
Interval between retries (in milliseconds)
Details
- $_retryInterval
- int
- visibility
- protected
- default
- 0
- final
- false
- static
- false
Methods
__construct(
int $count
=
1, int $intervalBetweenRetries
=
0
)
:
Constructor
Arguments
- $count
- int
Number of retries
- $intervalBetweenRetries
- int
Interval between retries (in milliseconds)
Details
- visibility
- public
- final
- false
- static
- false
execute(
string|array $function, array $parameters
=
array
)
:
mixed
Execute function under retry policy
Arguments
- $function
- stringarray
Function to execute
- $parameters
- array
Parameters for function call
Details
- visibility
- public
- final
- false
- static
- false