| Package | Description |
|---|---|
| com.lightstep.tracer.metrics | |
| com.lightstep.tracer.retry |
| Modifier and Type | Method and Description |
|---|---|
Void |
Metrics.retry(RetryPolicy retryPolicy,
int attemptNo) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExponentialBackoffRetryPolicy
A
RetryPolicy that defines a maximum number of retries, and a
delay for retry attempts that increases exponentially based on a backoff factor. |
class |
LinearDelayRetryPolicy
A
RetryPolicy that defines a maximum number of retries, and a
constant delay for retry attempts. |
| Modifier and Type | Method and Description |
|---|---|
T |
Retryable.retry(RetryPolicy retryPolicy,
int attemptNo)
Main run method of the
Retryable that is invoked by a
RetryPolicy, which defines the rules of retry invocations. |
Copyright © 2020 LightStep. All rights reserved.