com.thinkaurelius.titan.graphdb.log

## Class StandardTransactionId

- java.lang.Object
- - com.thinkaurelius.titan.graphdb.log.StandardTransactionId

- All Implemented Interfaces:
    TransactionId

      public class StandardTransactionId
      extends Object
      implements TransactionId

  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StandardTransactionId(String instanceId, long transactionId, Timestamp transactionTime)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object oth)`
    `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
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### StandardTransactionId

          public StandardTransactionId(String instanceId,
                               long transactionId,
                               Timestamp transactionTime)

  - ### Method Detail

    - #### getInstanceId

          public String getInstanceId()

      Description copied from interface: `TransactionId`
      Returns the unique id of the Titan graph instance which executed the transaction.
      Specified by:
        `getInstanceId` in interface `TransactionId`
      Returns:

    - #### getTransactionId

          public long getTransactionId()

      Description copied from interface: `TransactionId`
      Returns the unique transaction id within a particular Titan instance.
      Specified by:
        `getTransactionId` in interface `TransactionId`
      Returns:

    - #### getTransactionTime

          public Timestamp getTransactionTime()

      Description copied from interface: `TransactionId`
      Returns the time of the transaction
      Specified by:
        `getTransactionTime` in interface `TransactionId`
      Returns:

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object oth)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2012–2014. All rights reserved.