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



Author(s):

Copyright:

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

Variables

Methods


Inherited Methods

Class: Microsoft_WindowsAzure_RetryPolicy

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

Class Details

[line 53]


Tags:

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


[ Top ]


Class Variables

$_retryCount =  1

[line 60]

Number of retries



Tags:

access:  protected

Type:   int


[ Top ]

$_retryInterval =  0

[line 67]

Interval between retries (in milliseconds)



Tags:

access:  protected

Type:   int


[ Top ]



Class Methods


constructor __construct [line 75]

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 88]

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

Execute function under retry policy



Tags:

access:  public


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

Parameters:

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

[ Top ]


Documentation generated on Thu, 26 Nov 2009 08:05:15 +0100 by phpDocumentor 1.4.3