public TableRetryPolicy withExponentialBackoff(Duration sleepTime, Duration maxSleep, double factor) {
    Preconditions.checkNotNull(sleepTime);
    Preconditions.checkNotNull(maxSleep);
    this.sleepTime = sleepTime;
    this.exponentialMaxSleep = maxSleep;
    this.exponentialFactor = factor;
    this.backoffType = BackoffType.EXPONENTIAL;
    return this;
  }
Set the parameters for the exponential backoff policy. The actual sleepTime time
is exponentially incremented up to the {@code maxSleep} and multiplying
successive delays by the {@code factor}.
@param sleepTime initial sleepTime time
@param maxSleep upper bound sleepTime time
@param factor exponential factor for backoff
@return this policy instance
samza-api/src/main/java/org/apache/samza/table/retry/TableRetryPolicy.java