Class DittoTransactionInfo

java.lang.Object
com.ditto.java.DittoTransactionInfo

public final class DittoTransactionInfo extends Object
Encapsulates information about a transaction.
  • Method Details

    • getId

      public @NonNull String getId()
      A globally unique ID of the transaction.
    • getHint

      public @NonNull String getHint()
      The user hint passed when creating the transaction, useful for debugging and testing.
    • isReadOnly

      public boolean isReadOnly()
      Indicates whether mutating DQL statements can be executed in the transaction. Defaults to false. See DittoStore.transaction for more information.