TransactionOptions.Builder (Google App Engine API for Java)

Class TransactionOptions.Builder

  • java.lang.Object
    • Method Detail

      • withXG

        public static TransactionOptions withXG(boolean enable)
        Create a TransactionOptions that enables or disables the use of cross-group transactions. Shorthand for TransactionOptions.withDefaults().setXG(...);
        enable - true to allow cross-group transactions, false to restrict transactions to a single entity group.
        this (for chaining)
      • withDefaults

        public static TransactionOptions withDefaults()
        Helper method for creating a TransactionOptions instance with default values. The defaults is false (disabled) for XG.