| Package | Description |
|---|---|
| de.taimos.httputils |
| Modifier and Type | Method and Description |
|---|---|
static WaitStrategy |
WaitStrategy.constant()
Always wait 1 second before retry
|
static WaitStrategy |
WaitStrategy.constant(int ms) |
static WaitStrategy |
WaitStrategy.exponentialBackoff()
Exponential backoff slightly randomized
|
static WaitStrategy |
WaitStrategy.linear()
Wait 1 second for first retry, 2 seconds for 2nd retry, ...
|
static WaitStrategy |
WaitStrategy.linear(int ms) |
| Modifier and Type | Method and Description |
|---|---|
HTTPRequest |
HTTPRequest.retry(int maxRetries,
Retryable retryable,
WaitStrategy waitStrategy)
Retry.
|
Copyright © 2012–2018 Taimos GmbH. All rights reserved.