Package com.yandex.ydb.table
Class SessionRetryContext.Builder
- java.lang.Object
-
- com.yandex.ydb.table.SessionRetryContext.Builder
-
- Enclosing class:
- SessionRetryContext
@ParametersAreNonnullByDefault public static final class SessionRetryContext.Builder extends Object
BUILDER
-
-
Constructor Summary
Constructors Constructor Description Builder(SessionSupplier sessionSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionRetryContext.BuilderbackoffCeiling(int backoffCeiling)SessionRetryContext.BuilderbackoffSlot(Duration duration)SessionRetryContextbuild()SessionRetryContext.Builderexecutor(Executor executor)SessionRetryContext.BuilderfastBackoffCeiling(int backoffCeiling)SessionRetryContext.BuilderfastBackoffSlot(Duration duration)SessionRetryContext.Builderidempotent(boolean idempotent)SessionRetryContext.BuildermaxRetries(int maxRetries)SessionRetryContext.BuilderretryNotFound(boolean retryNotFound)SessionRetryContext.BuildersessionSupplyTimeout(Duration duration)
-
-
-
Constructor Detail
-
Builder
public Builder(SessionSupplier sessionSupplier)
-
-
Method Detail
-
executor
public SessionRetryContext.Builder executor(Executor executor)
-
maxRetries
public SessionRetryContext.Builder maxRetries(int maxRetries)
-
backoffSlot
public SessionRetryContext.Builder backoffSlot(Duration duration)
-
backoffCeiling
public SessionRetryContext.Builder backoffCeiling(int backoffCeiling)
-
fastBackoffSlot
public SessionRetryContext.Builder fastBackoffSlot(Duration duration)
-
fastBackoffCeiling
public SessionRetryContext.Builder fastBackoffCeiling(int backoffCeiling)
-
sessionSupplyTimeout
public SessionRetryContext.Builder sessionSupplyTimeout(Duration duration)
-
retryNotFound
public SessionRetryContext.Builder retryNotFound(boolean retryNotFound)
-
idempotent
public SessionRetryContext.Builder idempotent(boolean idempotent)
-
build
public SessionRetryContext build()
-
-