com.thinkaurelius.titan.core.log

## Interface TransactionId

- All Known Implementing Classes:
    StandardTransactionId

      public interface TransactionId

  Identifies a transaction. Used when processing user log entries to know which transaction caused a given change. A transaction is uniquely identified by the unique identifier of the instance that executed the transaction, the time of the transaction, and an instance local transaction id.

  Note, that all 3 pieces of information are required for a unique identification of the transaction.
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getInstanceId()` Returns the unique id of the Titan graph instance which executed the transaction.
    `long` | `getTransactionId()` Returns the unique transaction id within a particular Titan instance.
    `Timestamp` | `getTransactionTime()` Returns the time of the transaction

- - ### Method Detail

    - #### getInstanceId

          String getInstanceId()

      Returns the unique id of the Titan graph instance which executed the transaction.
      Returns:

    - #### getTransactionId

          long getTransactionId()

      Returns the unique transaction id within a particular Titan instance.
      Returns:

    - #### getTransactionTime

          Timestamp getTransactionTime()

      Returns the time of the transaction
      Returns:

Copyright © 2012–2014. All rights reserved.