public class StormBoundedExponentialBackoffRetry
extends org.apache.curator.retry.BoundedExponentialBackoffRetry
Constructor and Description |
---|
StormBoundedExponentialBackoffRetry(int baseSleepTimeMs,
int maxSleepTimeMs,
int maxRetries)
The class provides generic exponential-linear backoff retry strategy for
storm.
|
Modifier and Type | Method and Description |
---|---|
int |
getSleepTimeMs(int retryCount,
long elapsedTimeMs) |
public StormBoundedExponentialBackoffRetry(int baseSleepTimeMs, int maxSleepTimeMs, int maxRetries)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.