Class TxOptions.TimeoutOptions

java.lang.Object
tech.ydb.yoj.repository.db.TxOptions.TimeoutOptions
Enclosing class:
TxOptions

public static class TxOptions.TimeoutOptions extends Object
  • Field Details

  • Constructor Details

    • TimeoutOptions

      public TimeoutOptions()
  • Method Details

    • getCancelAfter

      public Duration 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

      public Long getDeadlineAfter()