@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 |
idempotent(boolean idempotent) |
SessionRetryContext.Builder |
maxRetries(int maxRetries) |
SessionRetryContext.Builder |
retryNotFound(boolean retryNotFound) |
SessionRetryContext.Builder |
sessionCreationTimeout(Duration duration) |
public Builder(SessionSupplier sessionSupplier)
public SessionRetryContext.Builder executor(Executor executor)
public SessionRetryContext.Builder sessionCreationTimeout(Duration duration)
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 retryNotFound(boolean retryNotFound)
public SessionRetryContext.Builder idempotent(boolean idempotent)
public SessionRetryContext build()
Copyright © 2023. All rights reserved.