@ParametersAreNonnullByDefault public static final class SessionRetryContext.Builder extends Object
| Constructor and Description |
|---|
Builder(SessionSupplier sessionSupplier) |
| Modifier and Type | Method and Description |
|---|---|
SessionRetryContext.Builder |
backoffCeiling(int backoffCeiling) |
SessionRetryContext.Builder |
backoffSlot(Duration duration) |
SessionRetryContext |
build() |
SessionRetryContext.Builder |
executor(Executor executor) |
SessionRetryContext.Builder |
fastBackoffCeiling(int backoffCeiling) |
SessionRetryContext.Builder |
fastBackoffSlot(Duration duration) |
SessionRetryContext.Builder |
maxRetries(int maxRetries) |
SessionRetryContext.Builder |
retryNotFound(boolean retryNotFound) |
SessionRetryContext.Builder |
sessionSupplyTimeout(Duration duration) |
public Builder(SessionSupplier sessionSupplier)
public SessionRetryContext.Builder executor(Executor executor)
public SessionRetryContext.Builder maxRetries(int maxRetries)
public SessionRetryContext.Builder backoffSlot(Duration duration)
public SessionRetryContext.Builder backoffCeiling(int backoffCeiling)
public SessionRetryContext.Builder fastBackoffSlot(Duration duration)
public SessionRetryContext.Builder fastBackoffCeiling(int backoffCeiling)
public SessionRetryContext.Builder sessionSupplyTimeout(Duration duration)
public SessionRetryContext.Builder retryNotFound(boolean retryNotFound)
public SessionRetryContext build()
Copyright © 2021. All rights reserved.