Jeff Nokes > eBay-API-0.22 > eBay::API::XML::CallRetry

Download:
eBay-API-0.22.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.01   Source   Latest Release: eBay-API-0.25

eBay::API::XML::CallRetry ^

Specifies retry parameters for an API call.

DESCRIPTION ^

This module is used to specify call retry parameters for an API call.

Subroutines ^

new()

Object constructor for the eBay::CallRetry class.

Arguments:

setMaximumRetries()

Set maximum number of retries if the failure continues to happen. If 0 then there are no retries.

getMaximumRetries()

Returns maximum number of retries if the failure continues to happen. If 0 then there are no retries.

setDelayTime()

Set delay time (in ms) for between each retry-API-call. If ms equals 0, then retry immediately.

getDelayTime()

Returns delay time (in ms) for between each retry-API-call. If ms equals 0, then retry immediately.

setTriggerErrorCodes()

Sets list of API error codes that trigger retry

getTriggerErrorCodes()

Returns list of API error codes that trigger retry

incNumberOfRetries()

increment number of retries (keep counter)

getNumberOfRetries()

Return current number of retries left.

shouldRetry()

Determines if the Call-Retry should be granted for the given errors.

createGenericCallRetry()

Create most common call retry rule. This is a static method

createTestCallRetry()

Create Call retry rules used in TESTS only This is a static method.