RetryPolicy.DefaultBackOffFactoryImpl

public static class RetryPolicy.DefaultBackOffFactoryImpl extends Object
implements RetryPolicy.BackOffFactory

Default factory object used to create an ExponentialBackOff with an initial delay of 1 second(s) and a multiplier of 2.

Constant Summary

int INITIAL_DELAY_SECONDS Default initial back off delay for retrying request after error.
double MULTIPLIER Default multiplier to compute back off duration as per getMultiplier()

Public Constructor Summary

Public Method Summary

BackOff
createBackOffInstance()
Returns BackOff instance used for implementing exponential back off for failed requests.

Inherited Method Summary

Constants

public static final int INITIAL_DELAY_SECONDS

Default initial back off delay for retrying request after error.

Constant Value: 1

public static final double MULTIPLIER

Default multiplier to compute back off duration as per getMultiplier()

Constant Value: 2.0

Public Constructors

public RetryPolicy.DefaultBackOffFactoryImpl ()

Public Methods

public BackOff createBackOffInstance ()

Returns BackOff instance used for implementing exponential back off for failed requests.

Send feedback about...

Cloud Search
Cloud Search