Microsoft_WindowsAzure
[ class tree: Microsoft_WindowsAzure ] [ index: Microsoft_WindowsAzure ] [ all elements ]

Class: Microsoft_WindowsAzure_RetryPolicy_RetryN

Source Location: /WindowsAzure/RetryPolicy/RetryN.php

Class Overview

Microsoft_WindowsAzure_RetryPolicy_RetryPolicyAbstract
   |
   --Microsoft_WindowsAzure_RetryPolicy_RetryN



Author(s):

Copyright:

  • Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)

Variables

Methods


Inherited Methods

Class: Microsoft_WindowsAzure_RetryPolicy_RetryPolicyAbstract

Microsoft_WindowsAzure_RetryPolicy_RetryPolicyAbstract::execute()
Execute function under retry policy
Microsoft_WindowsAzure_RetryPolicy_RetryPolicyAbstract::noRetry()
Create a Microsoft_WindowsAzure_RetryPolicy_NoRetry instance
Microsoft_WindowsAzure_RetryPolicy_RetryPolicyAbstract::retryN()
Create a Microsoft_WindowsAzure_RetryPolicy_RetryN instance

Class Details

[line 48]


Tags:

copyright:  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
license:  http://phpazure.codeplex.com/license


[ Top ]


Class Variables

$_retryCount =  1

[line 55]

Number of retries



Tags:

access:  protected

Type:   int


[ Top ]

$_retryInterval =  0

[line 62]

Interval between retries (in milliseconds)



Tags:

access:  protected

Type:   int


[ Top ]



Class Methods


constructor __construct [line 70]

Microsoft_WindowsAzure_RetryPolicy_RetryN __construct( [int $count = 1], [int $intervalBetweenRetries = 0])

Constructor



Tags:

access:  public


Parameters:

int   $count   Number of retries
int   $intervalBetweenRetries   Interval between retries (in milliseconds)

[ Top ]

method execute [line 83]

mixed execute( string|array $function, [array $parameters = array()])

Execute function under retry policy



Tags:

access:  public


Overrides Microsoft_WindowsAzure_RetryPolicy_RetryPolicyAbstract::execute() (Execute function under retry policy)

Parameters:

string|array   $function   Function to execute
array   $parameters   Parameters for function call

[ Top ]


Documentation generated on Wed, 18 May 2011 12:06:47 +0200 by phpDocumentor 1.4.3