public class NoBackoffStrategy extends java.lang.Object implements BackoffStrategy
| Constructor and Description |
|---|
NoBackoffStrategy() |
| Modifier and Type | Method and Description |
|---|---|
long |
getBackoff(int attempt)
Get the time to wait after the
attemptth failure |
public long getBackoff(int attempt)
BackoffStrategyattemptth failuregetBackoff in interface BackoffStrategyattempt - the attempt number (starting at 1)Copyright © 2014. All Rights Reserved.