TransactionHelper (Google App Engine API for Java)

com.google.appengine.api.datastore

Class TransactionHelper

  • java.lang.Object
    • com.google.appengine.api.datastore.TransactionHelper


  • public final class TransactionHelper
    extends java.lang.Object
    TransactionHelper enables the task queue API to serialize a datastore transaction without knowing the details of how it is implemented.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void setTransaction(Transaction txn, TaskQueueAddRequest request)
      Sets either the transaction or datastore_transaction field in a TaskQueueAddRequest depending on what kind of transaction is provided.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setTransaction

        public static void setTransaction(Transaction txn,
                                          TaskQueueAddRequest request)
        Sets either the transaction or datastore_transaction field in a TaskQueueAddRequest depending on what kind of transaction is provided.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java