|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00026 require_once 'Zend/Service/WindowsAzure/Exception.php'; 00027 00031 require_once 'Zend/Service/WindowsAzure/RetryPolicy/NoRetry.php'; 00032 00036 require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryN.php'; 00037 00045 abstract class Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract 00046 { 00054 public abstract function execute($function, $parameters = array()); 00055 00061 public static function noRetry() 00062 { 00063 return new Zend_Service_WindowsAzure_RetryPolicy_NoRetry(); 00064 } 00065 00073 public static function retryN($count = 1, $intervalBetweenRetries = 0) 00074 { 00075 return new Zend_Service_WindowsAzure_RetryPolicy_RetryN($count, $intervalBetweenRetries); 00076 } 00077 }