Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_WindowsAzure_RetryPolicy_RetryN Class Reference
Inheritance diagram for Zend_Service_WindowsAzure_RetryPolicy_RetryN:
Collaboration diagram for Zend_Service_WindowsAzure_RetryPolicy_RetryN:

Public Member Functions

 __construct ($count=1, $intervalBetweenRetries=0)
 execute ($function, $parameters=array())

Protected Attributes

 $_retryCount = 1
 $_retryInterval = 0

Detailed Description

Definition at line 40 of file RetryN.php.


Constructor & Destructor Documentation

__construct ( count = 1,
intervalBetweenRetries = 0 
)

Constructor

Parameters:
int$countNumber of retries
int$intervalBetweenRetriesInterval between retries (in milliseconds)

Definition at line 62 of file RetryN.php.


Member Function Documentation

execute ( function,
parameters = array() 
)

Execute function under retry policy

Parameters:
string | array$functionFunction to execute
array$parametersParameters for function call
Returns:
mixed

Reimplemented from Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract.

Definition at line 75 of file RetryN.php.


Field Documentation

$_retryCount = 1 [protected]

Definition at line 47 of file RetryN.php.

$_retryInterval = 0 [protected]

Definition at line 54 of file RetryN.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations