JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
B
E
G
I
N
R
S
T
V
W
Y
B
backoffTimeMillis(int)
- Method in class tech.ydb.common.retry.
ExponentialBackoffRetry
E
ErrorPolicy
<
T
> - Interface in
tech.ydb.common.retry
Recipes should use the configured error policy to decide how to retry errors like unsuccessful
StatusCode
.
ExponentialBackoffRetry
- Class in
tech.ydb.common.retry
ExponentialBackoffRetry(long, int)
- Constructor for class tech.ydb.common.retry.
ExponentialBackoffRetry
G
getBackoffCeiling()
- Method in class tech.ydb.common.retry.
ExponentialBackoffRetry
Return current maximal level of backoff exponent
getBackoffMillis()
- Method in class tech.ydb.common.retry.
ExponentialBackoffRetry
Return current base of backoff delays
getId()
- Method in class tech.ydb.common.transaction.impl.
YdbTransactionImpl
getId()
- Method in interface tech.ydb.common.transaction.
YdbTransaction
Returns identifier of the transaction or null if the transaction is not active = (not started/committed/rolled back).
getIntervalMillis()
- Method in class tech.ydb.common.retry.
RetryForever
Return current interval of retries
getMaxElapsedMillis()
- Method in class tech.ydb.common.retry.
RetryUntilElapsed
Return maximal count of elapsed milliseconds
getMaxRetries()
- Method in class tech.ydb.common.retry.
RetryNTimes
Return maximal count of retries
getSessionId()
- Method in interface tech.ydb.common.transaction.
YdbTransaction
getStatusFuture()
- Method in class tech.ydb.common.transaction.impl.
YdbTransactionImpl
getStatusFuture()
- Method in interface tech.ydb.common.transaction.
YdbTransaction
getTxMode()
- Method in class tech.ydb.common.transaction.impl.
YdbTransactionImpl
getTxMode()
- Method in interface tech.ydb.common.transaction.
YdbTransaction
Returns
TxMode
with mode of the transaction
I
isActive()
- Method in interface tech.ydb.common.transaction.
YdbTransaction
isRetryable(T)
- Method in interface tech.ydb.common.retry.
ErrorPolicy
Returns true if the given value should be retried
isRetryable(Exception)
- Method in interface tech.ydb.common.retry.
ErrorPolicy
Returns true if the given exception should be retried Usually exceptions are never retried, but some policies can implement more difficult logic
N
nextRetryMs(int, long)
- Method in class tech.ydb.common.retry.
RetryForever
nextRetryMs(int, long)
- Method in class tech.ydb.common.retry.
RetryNTimes
nextRetryMs(int, long)
- Method in interface tech.ydb.common.retry.
RetryPolicy
Called when an operation is failed for some reason to determine if it should be retried.
nextRetryMs(int, long)
- Method in class tech.ydb.common.retry.
RetryUntilElapsed
R
RetryForever
- Class in
tech.ydb.common.retry
RetryForever(long)
- Constructor for class tech.ydb.common.retry.
RetryForever
RetryNTimes
- Class in
tech.ydb.common.retry
RetryNTimes(int, long, int)
- Constructor for class tech.ydb.common.retry.
RetryNTimes
RetryPolicy
- Interface in
tech.ydb.common.retry
Abstracts the policy to use when retrying some actions
RetryUntilElapsed
- Class in
tech.ydb.common.retry
RetryUntilElapsed(long, long, int)
- Constructor for class tech.ydb.common.retry.
RetryUntilElapsed
S
statusFuture
- Variable in class tech.ydb.common.transaction.impl.
YdbTransactionImpl
T
tech.ydb.common.retry
- package tech.ydb.common.retry
tech.ydb.common.transaction
- package tech.ydb.common.transaction
tech.ydb.common.transaction.impl
- package tech.ydb.common.transaction.impl
txId
- Variable in class tech.ydb.common.transaction.impl.
YdbTransactionImpl
txMode
- Variable in class tech.ydb.common.transaction.impl.
YdbTransactionImpl
TxMode
- Enum in
tech.ydb.common.transaction
V
valueOf(String)
- Static method in enum tech.ydb.common.transaction.
TxMode
Returns the enum constant of this type with the specified name.
values()
- Static method in enum tech.ydb.common.transaction.
TxMode
Returns an array containing the constants of this enum type, in the order they are declared.
W
withBackoffCeiling(int)
- Method in class tech.ydb.common.retry.
RetryNTimes
Create new retry policy with specified backoff ceiling
withBackoffCeiling(int)
- Method in class tech.ydb.common.retry.
RetryUntilElapsed
Create new retry policy with specified backoff ceiling
withBackoffMs(long)
- Method in class tech.ydb.common.retry.
RetryNTimes
Create new retry policy with specified backoff duration
withBackoffMs(long)
- Method in class tech.ydb.common.retry.
RetryUntilElapsed
Create new retry policy with specified backoff duration
withIntervalMs(long)
- Method in class tech.ydb.common.retry.
RetryForever
Create new retry policy with specified retry interval
withMaxElapsedMs(long)
- Method in class tech.ydb.common.retry.
RetryUntilElapsed
Create new retry policy with specified count of elapsed milliseconds
withMaxRetries(int)
- Method in class tech.ydb.common.retry.
RetryNTimes
Create new retry policy with specified max retries count
Y
YdbTransaction
- Interface in
tech.ydb.common.transaction
A base interface for all YDB transactions from different services
YdbTransactionImpl
- Class in
tech.ydb.common.transaction.impl
YdbTransactionImpl(TxMode, String)
- Constructor for class tech.ydb.common.transaction.impl.
YdbTransactionImpl
B
E
G
I
N
R
S
T
V
W
Y
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2024. All rights reserved.