Package tech.ydb.yoj.repository.db
Class TxOptions.TimeoutOptions
java.lang.Object
tech.ydb.yoj.repository.db.TxOptions.TimeoutOptions
- Enclosing class:
- TxOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalculates canceAfter parameter for ydb sdk, which must be 50-100ms less than a transport timeout.
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
TimeoutOptions
public TimeoutOptions()
-
-
Method Details
-
getCancelAfter
Calculates canceAfter parameter for ydb sdk, which must be 50-100ms less than a transport timeout. The bigger the transport timeout, the bigger the difference. -
getDeadlineAfter
-