Specifies retry parameters for an API call.
This module is used to specify call retry parameters for an API call.
Object constructor for the eBay::CallRetry class.
Arguments:
no arguments
Set maximum number of retries if the failure continues to happen. If 0 then there are no retries.
Returns maximum number of retries if the failure continues to happen. If 0 then there are no retries.
Set delay time (in ms) for between each retry-API-call. If ms equals 0, then retry immediately.
Returns delay time (in ms) for between each retry-API-call. If ms equals 0, then retry immediately.
Sets list of API error codes that trigger retry
Returns list of API error codes that trigger retry
increment number of retries (keep counter)
Return current number of retries left.
Determines if the Call-Retry should be granted for the given errors.
Create most common call retry rule. This is a static method
Create Call retry rules used in TESTS only This is a static method.
To install eBay::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm eBay::API
CPAN shell
perl -MCPAN -e shell install eBay::API
For more information on module installation, please visit the detailed CPAN module installation guide.