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-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_RetryN

Package: Zend_Service_WindowsAzure\RetryPolicy
Parent(s)
\Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2014 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
Documentation was generated by phpDocumentor 2.2.0 .