| 1 |
<?php |
| 2 |
|
| 3 |
namespace Dudlewebs\WPMCS\s3\Aws\Retry; |
| 4 |
|
| 5 |
/** |
| 6 |
* Provides access to retry configuration |
| 7 |
*/ |
| 8 |
interface ConfigurationInterface |
| 9 |
{ |
| 10 |
/** |
| 11 |
* Returns the retry mode. Available modes include 'legacy', 'standard', and |
| 12 |
* 'adapative'. |
| 13 |
* |
| 14 |
* @return string |
| 15 |
*/ |
| 16 |
public function getMode(); |
| 17 |
/** |
| 18 |
* Returns the maximum number of attempts that will be used for a request |
| 19 |
* |
| 20 |
* @return string |
| 21 |
*/ |
| 22 |
public function getMaxAttempts(); |
| 23 |
/** |
| 24 |
* Returns the configuration as an associative array |
| 25 |
* |
| 26 |
* @return array |
| 27 |
*/ |
| 28 |
public function toArray(); |
| 29 |
} |
| 30 |
|