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 Summary

  Modifier and Type
  Method
  Description
  `int`
  `getShardId()`
  `long`
  `getShardTxnId()`
  `long`
  `getTimestamp()`

- ## 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.