API Documentation

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service_WindowsAzure  
subpackage
RetryPolicy  
version
$Id: RetryN.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Service_WindowsAzure_RetryPolicy_RetryN

Extends from
\Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service_WindowsAzure  
subpackage
RetryPolicy  

Properties

Propertyprotectedint  $_retryCount= '1'

Number of retries

Default value1Details
Type
int
Propertyprotectedint  $_retryInterval= '0'

Interval between retries (in milliseconds)

Default value0Details
Type
int

Methods

methodpublic__construct( int $count = 1, int $intervalBetweenRetries = 0 ) : void

Constructor

Parameters
Name Type Description
$count int Number of retries
$intervalBetweenRetries int

Interval between retries (in milliseconds)

methodpublicexecute( string|array $function, array $parameters = array ) : mixed

Execute function under retry policy

Parameters
Name Type Description
$function string|array Function to execute
$parameters array Parameters for function call
Returns
Type Description
mixed
methodpublicnoRetry( ) : \Zend_Service_WindowsAzure_RetryPolicy_NoRetry
static

Create a Zend_Service_WindowsAzure_RetryPolicy_NoRetry instance

Inherited from: \Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract::noRetry()
methodpublicretryN( int $count = 1, int $intervalBetweenRetries = 0 ) : \Zend_Service_WindowsAzure_RetryPolicy_RetryN
static

Create a Zend_Service_WindowsAzure_RetryPolicy_RetryN instance

Inherited from: \Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract::retryN()
Parameters
Name Type Description
$count int Number of retries
$intervalBetweenRetries int

Interval between retries (in milliseconds)

Returns
Type Description
\Zend_Service_WindowsAzure_RetryPolicy_RetryN
Documentation was generated by DocBlox 0.13.3.