Service/WindowsAzure/RetryPolicy/RetryN.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-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

Package: Zend\Service\WindowsAzure\RetryPolicy
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

>VPropertyprotectedint $_retryCount = 1
Number of retries
Default value1Details
Type
int
>VPropertyprotectedint $_retryInterval = 0
Interval between retries (in milliseconds)
Default value0Details
Type
int

Methods

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

Constructor

Parameters
NameTypeDescription
$countint

Number of retries

$intervalBetweenRetriesint

Interval between retries (in milliseconds)

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

Execute function under retry policy

Parameters
NameTypeDescription
$functionstring | array

Function to execute

$parametersarray

Parameters for function call

Returns
TypeDescription
mixed
methodpublicnoRetry() : \Zend_Service_WindowsAzure_RetryPolicy_NoRetry
staticinherited

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
staticinherited

Create a Zend_Service_WindowsAzure_RetryPolicy_RetryN instance

Inherited from: \Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract::retryN()
Parameters
NameTypeDescription
$countint

Number of retries

$intervalBetweenRetriesint

Interval between retries (in milliseconds)

Returns
TypeDescription
\Zend_Service_WindowsAzure_RetryPolicy_RetryN
Documentation was generated by phpDocumentor 2.0.0a12.