Package oracle.kv.txn

Interface TransactionId

All Known Implementing Classes:
TransactionIdImpl

public interface TransactionId
Interface that represents a transaction id. The transaction id is a store-wide unique id associated with a particular transaction.
  • Method Details

    • getShardId

      int getShardId()
      Returns:
      the id of shard where the transaction is performed
    • getShardTxnId

      long getShardTxnId()
      Returns:
      the transaction id generated by internal JE env
    • getTimestamp

      long getTimestamp()
      Returns:
      the timestamp of the transaction, which is from the entry of commit (abort) for committed (aborted) transaction.