eBay::API::XML::CallRetry(3)

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:

•

        no 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.