public class

ExponentialBackoff

extends SleepingRetryPolicy
java.lang.Object
   ↳ com.netflix.astyanax.retry.SleepingRetryPolicy
     ↳ com.netflix.astyanax.retry.ExponentialBackoff
Known Direct Subclasses

Class Overview

Unbounded exponential backoff will sleep a random number of intervals within an exponentially increasing number of intervals.

Summary

Public Constructors
ExponentialBackoff(int baseSleepTimeMs, int maxAttempts)
Public Methods
RetryPolicy duplicate()
int getBaseSleepTimeMs()
long getSleepTimeMs()
String toString()
[Expand]
Inherited Methods
From class com.netflix.astyanax.retry.SleepingRetryPolicy
From class java.lang.Object
From interface com.netflix.astyanax.retry.RetryPolicy

Public Constructors

public ExponentialBackoff (int baseSleepTimeMs, int maxAttempts)

Public Methods

public RetryPolicy duplicate ()

public int getBaseSleepTimeMs ()

public long getSleepTimeMs ()

public String toString ()