Interface Store.TxnCheckTxnStatusRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Store.TxnCheckTxnStatusRequest, Store.TxnCheckTxnStatusRequest.Builder
Enclosing class:
Store

public static interface Store.TxnCheckTxnStatusRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The start timestamp oracle of the transaction which this request is part of.
    .dingodb.pb.store.Context context = 2;
    .dingodb.pb.store.Context context = 2;
    long
    The client must specify the current time to dingo-store using this timestamp oracle.
    boolean
    This field is set to true only if the transaction is known to fall back from async commit.
    long
    Starting timestamp oracle of the transaction being checked.
    com.google.protobuf.ByteString
    Primary key and lock ts together to locate the primary lock of a transaction.
    .dingodb.pb.common.RequestInfo request_info = 1;
    .dingodb.pb.common.RequestInfo request_info = 1;
    boolean
    .dingodb.pb.store.Context context = 2;
    boolean
    .dingodb.pb.common.RequestInfo request_info = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasRequestInfo

      boolean hasRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Returns:
      Whether the requestInfo field is set.
    • getRequestInfo

      Common.RequestInfo getRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Returns:
      The requestInfo.
    • getRequestInfoOrBuilder

      Common.RequestInfoOrBuilder getRequestInfoOrBuilder()
      .dingodb.pb.common.RequestInfo request_info = 1;
    • hasContext

      boolean hasContext()
      .dingodb.pb.store.Context context = 2;
      Returns:
      Whether the context field is set.
    • getContext

      Store.Context getContext()
      .dingodb.pb.store.Context context = 2;
      Returns:
      The context.
    • getContextOrBuilder

      Store.ContextOrBuilder getContextOrBuilder()
      .dingodb.pb.store.Context context = 2;
    • getPrimaryKey

      com.google.protobuf.ByteString getPrimaryKey()
       Primary key and lock ts together to locate the primary lock of a transaction.
       
      bytes primary_key = 3;
      Returns:
      The primaryKey.
    • getLockTs

      long getLockTs()
       Starting timestamp oracle of the transaction being checked.
       
      int64 lock_ts = 4;
      Returns:
      The lockTs.
    • getCallerStartTs

      long getCallerStartTs()
       The start timestamp oracle of the transaction which this request is part of.
       If the the lock_ts < caller_start_ts and the lock_ttl is not outdated, the transaction is not expired.
       In this case, store will try to update the lock's min_commit_ts to caller_start_ts, in order to prevent the
       read-write conflict. If the min_commit_ts is updated, the Action of the response will be MinCommitTSPushed.
       
      int64 caller_start_ts = 5;
      Returns:
      The callerStartTs.
    • getCurrentTs

      long getCurrentTs()
       The client must specify the current time to dingo-store using this timestamp oracle.
       It is used to check TTL timeouts. It may be inaccurate.
       
      int64 current_ts = 6;
      Returns:
      The currentTs.
    • getForceSyncCommit

      boolean getForceSyncCommit()
       This field is set to true only if the transaction is known to fall back from async commit.
       Then, CheckTxnStatus treats the transaction as non-async-commit even if the use_async_commit
       field in the primary lock is true.
       
      bool force_sync_commit = 7;
      Returns:
      The forceSyncCommit.