java.lang.Object
org.apache.jena.dboe.transaction.txn.TxnIdUuid
All Implemented Interfaces:
TxnId

public class TxnIdUuid extends Object implements TxnId
TxnId based on a UUID.
  • Method Details

    • create

      public static TxnIdUuid create(byte[] bytes)
    • name

      public String name()
      Specified by:
      name in interface TxnId
    • bytes

      public byte[] bytes()
      Specified by:
      bytes in interface TxnId
    • runtime

      public long runtime()
      Description copied from interface: TxnId
      A long that is a subset, or all or, the bytes. This should be unique for the lifetime of the transaction and ideally unique per system instance. It is not a persistent record of a transaction, it is for a transaction identifier in running code. ("system" maybe larger than on e JVM).
      Specified by:
      runtime in interface TxnId
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface TxnId
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface TxnId
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object